Lines Matching refs:ref
209 Gumby.prototype.addInitalisation = function(ref, code) { argument
210 this.inits[ref] = code;
214 Gumby.prototype.initialize = function(ref, all) { argument
215 if(typeof ref === 'object') {
217 for(i; i < ref.length; i++) {
218 if(!this.inits[ref[i]] || typeof this.inits[ref[i]] !== 'function') {
219 this.error('Error initializing module: '+ref[i]);
223 this.inits[ref[i]](all);
225 } else if(this.inits[ref] && typeof this.inits[ref] === 'function') {
226 this.inits[ref](all);
228 this.error('Error initializing module: '+ref);