diff options
author | wout <wout@impinc.co.uk> | 2014-01-31 18:35:23 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-01-31 18:35:23 +0100 |
commit | 165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c (patch) | |
tree | a004a4b7d3812200e9200dc0ece0f45038d379a9 /src | |
parent | a77685a153ded4e4dd69d7a4f9c8003424898a97 (diff) | |
download | svg.js-165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c.tar.gz svg.js-165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c.zip |
Disabled array bbox cache
Diffstat (limited to 'src')
-rw-r--r-- | src/arraycache.js | 14 | ||||
-rwxr-xr-x | src/fx.js | 6 |
2 files changed, 0 insertions, 20 deletions
diff --git a/src/arraycache.js b/src/arraycache.js deleted file mode 100644 index 41fdbcd..0000000 --- a/src/arraycache.js +++ /dev/null @@ -1,14 +0,0 @@ -SVG.extend(SVG.PointArray, SVG.PathArray, { - // Cache bbox - cache: function() { - this._cachedBBox = this.uncache().bbox() - - return this - } - // Remove cache -, uncache: function() { - delete this._cachedBBox - return this - } - -})
\ No newline at end of file @@ -96,9 +96,6 @@ SVG.extend(SVG.FX, { element.plot(fx._plot.at(pos)) } else { - if (element.array) - element.array.cache() - /* run all x-position properties */ if (fx._x) element.x(fx._at(fx._x, pos)) @@ -114,9 +111,6 @@ SVG.extend(SVG.FX, { /* run all size properties */ if (fx._size) element.size(fx._at(fx._size.width, pos), fx._at(fx._size.height, pos)) - - if (element.array) - element.array.uncache() } /* run all viewbox properties */ |