summaryrefslogtreecommitdiffstats
path: root/src/arraycache.js
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/arraycache.js
parenta77685a153ded4e4dd69d7a4f9c8003424898a97 (diff)
downloadsvg.js-165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c.tar.gz
svg.js-165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c.zip
Disabled array bbox cache
Diffstat (limited to 'src/arraycache.js')
-rw-r--r--src/arraycache.js14
1 files changed, 0 insertions, 14 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