KOSASIH / SilkRoad

Use reference modules with the getter syntax JS-0514
Style
Minor
8 months agoa year old
Avoid using a variable and instead use chaining with the getter syntax
 7785				}
 7786				stopped = true;
 7787				for ( ; index < length ; index++ ) {
 7788					animation.tweens[ index ].run( 1 ); 7789				}
 7790
 7791				// resolve when we played the last frame
Avoid using a variable and instead use chaining with the getter syntax
 7744				length = animation.tweens.length;
 7745
 7746			for ( ; index < length ; index++ ) {
 7747				animation.tweens[ index ].run( percent ); 7748			}
 7749
 7750			deferred.notifyWith( elem, [ animation, percent, remaining ] );
Avoid using a variable and instead use chaining with the getter syntax
4353            throw new TypeError("No method named \"" + config + "\"");
4354          }
4355
4356          data[config](this);4357        }
4358      });
4359    };
Avoid using a variable and instead use chaining with the getter syntax
4137            throw new TypeError("No method named \"" + config + "\"");
4138          }
4139
4140          data[config]();4141        }
4142      });
4143    };
Avoid using a variable and instead use chaining with the getter syntax
3892            throw new TypeError("No method named \"" + config + "\"");
3893          }
3894
3895          data[config]();3896        }
3897      });
3898    };