Advertisement
Guest User

Untitled

a guest
Jul 26th, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         SeriouslyScene.prototype.__buildLookupIndicesForDictionary__ = function(){
  2.             function createIndex(nodeDef, hash, index){
  3.                 hash[nodeDef.nodeName] = index;
  4.             }
  5.            
  6.             this.dictionaries.effectsHash = this.dictionaries.effects.reduce(createIndex, {});
  7.    
  8.             self.dictionaries.transformsHash = this.dictionaries.transforms.reduce(createIndex, {});
  9.    
  10.             this.dictionaries.sourcesHash =this.dictionaries.sources.reduce(createIndex, {});
  11.        
  12.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement