Skip to content

Commit

Permalink
fixed docs opening issues, missed line in previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Apr 29, 2015
1 parent 6234d8e commit 75c93f3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions cache/projectTemplate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Class name="UMLExplorer.ClassView">
<Description>
Class contains methods that return structured class data.</Description>
<TimeChanged>63670,72515.130814</TimeChanged>
<TimeChanged>63671,64479.682329</TimeChanged>
<TimeCreated>63653,67019.989197</TimeCreated>

<Method name="getClassTree">
Expand Down Expand Up @@ -60,6 +60,7 @@ return structured data about class</Description>
set oProperties = ##class(%ZEN.proxyObject).%New()
set oClass.NAMESPACE = $NAMESPACE
set oClass.ABSTRACT = classDefinition.Abstract
set oClass.super = classDefinition.Super
set oClass.properties = oProperties
set count = classDefinition.Properties.Count()
Expand Down Expand Up @@ -220,7 +221,7 @@ return structured data about class</Description>
</Class>


<Project name="UMLExplorer" LastModified="2015-04-28 19:55:49.450783">
<Project name="UMLExplorer" LastModified="2015-04-28 23:30:37.941872">
<Items>
<ProjectItem name="UMLExplorer.ClassView" type="CLS"></ProjectItem>
<ProjectItem name="UMLExplorer.Router" type="CLS"></ProjectItem>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CacheUMLExplorer",
"version": "0.5.0",
"version": "0.5.1",
"description": "An UML Class explorer for InterSystems Caché",
"directories": {
"test": "test"
Expand Down
6 changes: 3 additions & 3 deletions web/jsLib/joint.js
Original file line number Diff line number Diff line change
Expand Up @@ -17222,9 +17222,9 @@ if ( typeof window === "object" && typeof window.document === "object" ) {
tspan.node.style[j] = setup["STYLES"][j];
}
}
if (opt.clickHandler) {
tspan.node.onclick = opt.clickHandler;
}
}
if (opt.clickHandler) {
tspan.node.onclick = opt.clickHandler;
}
// Make sure the textContent is never empty. If it is, add an additional
// space (an invisible character) so that following lines are correctly
Expand Down
4 changes: 3 additions & 1 deletion web/jsLib/joint.shapes.uml.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ joint.shapes.uml.Class = joint.shapes.basic.Generic.extend({

attrs['.uml-class-' + rect.type + '-text'].text = lines.join('\n');
if (nameClickHandler) {
if (rect.type === "name") attrs['.uml-class-' + rect.type + '-text'].clickHandler = nameClickHandler;
if (rect.type === "name") {
attrs['.uml-class-' + rect.type + '-text'].clickHandler = nameClickHandler;
}
}
attrs['.uml-class-' + rect.type + '-rect'].height = rectHeight;
attrs['.uml-class-' + rect.type + '-rect'].transform = 'translate(0,'+ offsetY + ')';
Expand Down

0 comments on commit 75c93f3

Please sign in to comment.