summaryrefslogtreecommitdiffstats
path: root/dist/svg.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 /dist/svg.js
parenta77685a153ded4e4dd69d7a4f9c8003424898a97 (diff)
downloadsvg.js-165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c.tar.gz
svg.js-165ca9cc4161f26f2ee5eeefeb73cdcb1d0db08c.zip
Disabled array bbox cache
Diffstat (limited to 'dist/svg.js')
-rw-r--r--dist/svg.js23
1 files changed, 1 insertions, 22 deletions
diff --git a/dist/svg.js b/dist/svg.js
index 74f866c..49b2260 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -1,4 +1,4 @@
-/* svg.js v1.0rc1-7-gb095d29 - svg regex default color array pointarray patharray arraycache number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient doc shape use rect ellipse line poly path image text textpath nested hyperlink sugar set data memory loader - svgjs.com/license */
+/* svg.js v1.0rc1-11-ga77685a - svg regex default color array pointarray patharray number viewbox bbox rbox element parent container fx relative event defs group arrange mask clip gradient doc shape use rect ellipse line poly path image text textpath nested hyperlink sugar set data memory loader - svgjs.com/license */
;(function() {
this.SVG = function(element) {
@@ -767,21 +767,6 @@
})
- 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
- }
-
- })
-
SVG.Number = function(value) {
/* initialize defaults */
@@ -1697,9 +1682,6 @@
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))
@@ -1715,9 +1697,6 @@
/* 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 */