diff options
author | Jose Antonio Marquez Russo | 2012-02-23 08:05:06 -0800 |
---|---|---|
committer | Jose Antonio Marquez Russo | 2012-02-23 08:05:06 -0800 |
commit | c8a5107fa6f85ad572cf0881ed7e222ac6fbacfc (patch) | |
tree | 61bac34de22852efd2b9b8880f62210685b16297 /js/lib/NJUtils.js | |
parent | d264092596ba697cd04738566184270dc608be63 (diff) | |
parent | 64a971f63333d74ca89690892a52948b3bd4283a (diff) | |
download | ninja-c8a5107fa6f85ad572cf0881ed7e222ac6fbacfc.tar.gz |
Merge pull request #18 from mencio/file-io
File io - drawing the layout on open and make models
Diffstat (limited to 'js/lib/NJUtils.js')
-rwxr-xr-x | js/lib/NJUtils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/NJUtils.js b/js/lib/NJUtils.js index 887743c5..e16715a4 100755 --- a/js/lib/NJUtils.js +++ b/js/lib/NJUtils.js | |||
@@ -113,8 +113,8 @@ exports.NJUtils = Object.create(Object.prototype, { | |||
113 | }, | 113 | }, |
114 | 114 | ||
115 | ///// Element Model creation for existing elements based on element type. | 115 | ///// Element Model creation for existing elements based on element type. |
116 | ///// TODO: find a different place for this function and return different element models based on type. | 116 | ///// TODO: Selection and model should be based on the element type |
117 | makeElementModel2: { | 117 | makeModelFromElement: { |
118 | value: function(el) { | 118 | value: function(el) { |
119 | this.makeElementModel(el, "Div", "block", false); | 119 | this.makeElementModel(el, "Div", "block", false); |
120 | } | 120 | } |