Skip to content

Commit

Permalink
fix(pauseResume): Don't convert relative values of transform string. (n…
Browse files Browse the repository at this point in the history
  • Loading branch information
jongmoon authored Aug 4, 2016
1 parent 959932b commit f65adca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hook/pauseResume.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ eg.module("pauseResume", ["jQuery"], function($) {
var markIndex;
var sign;

// DO NOT SUPPORT TRANSFORM YET
// TODO: convert from relative value to absolute value on transform
if (propName === "transform") {
continue;
}

//If it has a absoulte value.
if (typeof propValue !== "string" ||
(markIndex = propValue.search(/[+|-]=/)) < 0) {
Expand Down

0 comments on commit f65adca

Please sign in to comment.