Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed May 26, 2015
2 parents c3498a9 + 00c4716 commit d292d72
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ An UML Class explorer for InterSystems Caché.
+ Build diagrams for any package or subpackage;
+ Edit diagrams after build;
+ Export diagrams as an image;
+ View class methods code;
+ View class methods code with syntax highlighting;
+ Zoom in and out, explore big packages and more.

## Screenshots
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.10.1",
"version": "0.11.0",
"description": "An UML Class explorer for InterSystems Caché",
"directories": {
"test": "test"
Expand Down
27 changes: 27 additions & 0 deletions web/css/syntax.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.syntax-comment {
color: green;
}

.syntax-string {
color: #394;
}

.syntax-vars, .syntax-keyword {
color: #00b;
}

.syntax-names {
color: #299;
}

.syntax-functions {
color: #986;
}

.syntax-global {
color: #800;
}

.syntax-other {
color: red;
}
1 change: 1 addition & 0 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="stylesheet" href="css/interface.css"/>
<link rel="stylesheet" href="css/treeView.css"/>
<link rel="stylesheet" href="css/extras.css"/>
<link rel="stylesheet" href="css/syntax.css"/>
<link rel="stylesheet" href="css/classView.css"/>
<link rel="stylesheet" href="css/joint.min.css"/>
<link rel="stylesheet" href="css/methodCodeView.css"/>
Expand Down
2 changes: 1 addition & 1 deletion web/js/ClassView.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ ClassView.prototype.showMethodCode = function (className, methodName) {
+ (data["arguments"] || "").replace(/,/g, ", ").replace(/:/g, ": ") + ")"
+ (data["returns"] ? ": " + data["returns"] : "");
els.methodDescription.innerHTML = data["description"] || "";
els.methodCode.textContent = data["code"] || "";
els.methodCode.innerHTML = lib.highlightCOS(data["code"] || "");
els.methodViewBounds.style.height =
els.classView.offsetHeight - els.methodViewBounds.offsetTop + "px";
els.methodCodeView.classList.add("active");
Expand Down
97 changes: 97 additions & 0 deletions web/js/Lib.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d292d72

Please sign in to comment.