-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn to Bower dependencies and upgrade Dagre
Many things happen in this commit and they are all intermingled in ways they are hard to separate. - Start using Bower for dependencies, reason being to make nomnoml itself a bower package. - Upgrade Dagre from 0.4.5 to 0.7.1, reason being that the older version wasn't a bower package and didn't support RequireJS, the new version has both of these features. - Switch from using Underscore to using Lo-Dash, because Dagre depends on Lo-Dash it was just nicer if nomnoml switched to that as well. Known issues: - With the upgrade of Dagre the layout doesn't come out exactly the same. The upgrade also messes with the rendering of relation arrows.
- Loading branch information
Showing
13 changed files
with
92 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ nomnoml.sublime-project | |
nomnoml.sublime-workspace | ||
codemirror/* | ||
node_modules/ | ||
bower_components/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ Created by <a href="mailto:[email protected]">Daniel Kallin</a>.</p> | |
|
||
- [jison](http:https://zaach.github.io/jison/) | ||
- [dagre](https://github.com/cpettitt/dagre) | ||
- [underscore](http:https://underscorejs.org) | ||
- [lodash](http:https://lodash.com) | ||
- [typicons](http:https://typicons.com/) | ||
- [zepto](http:https://zeptojs.com/) | ||
- [solarized](http:https://ethanschoonover.com/solarized) | ||
|
@@ -85,4 +85,4 @@ This is how the Decorator pattern looks like in nomnoml syntax: | |
#spacing: 40 | ||
#stroke: #33322E | ||
#title: filename | ||
#zoom: 1 | ||
#zoom: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "nomnoml", | ||
"main": "dist/nomnoml.js", | ||
"version": "0.0.0", | ||
"homepage": "https://github.com/skanaar/nomnoml", | ||
"authors": [ | ||
"Daniel Kallin <[email protected]>" | ||
], | ||
"description": "Generates UML diagrams from text.", | ||
"moduleType": [ | ||
"amd", | ||
"globals" | ||
], | ||
"keywords": [ | ||
"uml" | ||
], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"*.css", | ||
"*.md", | ||
"*.js", | ||
"*.png", | ||
"*.json", | ||
"node_modules/", | ||
"bower_components/", | ||
"test/", | ||
"img/", | ||
"lib/", | ||
"design/" | ||
], | ||
"dependencies": { | ||
"lodash": "~3.7.0", | ||
"dagre": "~0.7.1" | ||
}, | ||
"resolutions": { | ||
"lodash": "~3.7.0" | ||
}, | ||
"devDependencies": { | ||
"requirejs": "~2.1.17" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.