diff options
author | Valerio Virgillito | 2012-02-23 01:52:34 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-23 01:52:34 -0800 |
commit | aaa8d05cc3cfd94322d356e265b94b0abb9f6305 (patch) | |
tree | 08cec1e25449d68c9a878d316965f216f33a8fae /js/lib | |
parent | 31d73bccdda6145c6bbb5c25f6db3e139fcb9e6c (diff) | |
download | ninja-aaa8d05cc3cfd94322d356e265b94b0abb9f6305.tar.gz |
renaming makeElementModel2 to makeModelFromElement
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/lib')
-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 | } |