Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SeriouslyScene.prototype.__buildLookupIndicesForDictionary__ = function(){
- function createIndex(nodeDef, hash, index){
- hash[nodeDef.nodeName] = index;
- }
- this.dictionaries.effectsHash = this.dictionaries.effects.reduce(createIndex, {});
- self.dictionaries.transformsHash = this.dictionaries.transforms.reduce(createIndex, {});
- this.dictionaries.sourcesHash =this.dictionaries.sources.reduce(createIndex, {});
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement