Permalink
Browse files

Method renamed for more consistancy

  • Loading branch information...
1 parent b9ce195 commit 11b4769932d08ba5a4d5556505e4d41801fdea25 @narqo narqo committed Nov 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/nodes/level.js
View
@@ -207,7 +207,7 @@ registry.decl(BundlesLevelNodeName, LevelNodeName, {
return false;
},
- bundleSourceTechs: function() {
+ getBundleSourceTechs: function() {
return ['bemtree.js', 'bemdecl.js'];
},
@@ -276,7 +276,7 @@ registry.decl(BundlesLevelNodeName, LevelNodeName, {
if (type === 'block' && item.block === this.mergedBundleName()) return false;
// build only blocks and elems that have file in `bundleSourceTechs` techs
- return ~['block', 'elem'].indexOf(type) && ~this.bundleSourceTechs().indexOf(item.tech);
+ return ~['block', 'elem'].indexOf(type) && ~this.getBundleSourceTechs().indexOf(item.tech);
}, this),
U.bemKey),

0 comments on commit 11b4769

Please sign in to comment.