Permalink
Browse files

Removed unstubbed function call, replaced with throw.

  • Loading branch information...
DavidHGillen committed Oct 13, 2015
1 parent 86c03c0 commit 8e38c6072c742c11bbcb15611384fdec934ca2de
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tweenjs/MotionGuidePlugin.js
@@ -286,7 +286,7 @@ this.createjs = this.createjs||{};
* @static
*/
MotionGuidePlugin.calc = function(data, ratio, target) {
if(data._segments == undefined){ MotionGuidePlugin.validate(data); }
if(data._segments == undefined){ throw("Missing critical pre-calculated information, please file a bug"); }
if(target == undefined){ target = {x:0, y:0, rotation:0}; }
var seg = data._segments;
var path = data.path;

0 comments on commit 8e38c60

Please sign in to comment.