summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-01-31 18:35:23 +0100
committerwout <wout@impinc.co.uk>2014-01-31 18:35:23 +0100
commit165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c (patch)
treea004a4b7d3812200e9200dc0ece0f45038d379a9 /src
parenta77685a153ded4e4dd69d7a4f9c8003424898a97 (diff)
downloadsvg.js-165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c.tar.gz
svg.js-165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c.zip
Disabled array bbox cache
Diffstat (limited to 'src')
-rw-r--r--src/arraycache.js14
-rwxr-xr-xsrc/fx.js6
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
diff --git a/src/fx.js b/src/fx.js
index 28d0da8..b779b40 100755
--- a/src/fx.js
+++ b/src/fx.js
@@ -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 */