summaryrefslogtreecommitdiffstats
path: root/src/element.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-01-12 17:58:24 +0100
committerwout <wout@impinc.co.uk>2013-01-12 17:58:24 +0100
commit8b253f88504cdaec23be84564a5a6781ed7a7066 (patch)
tree9239793c270629e66eaf5c7a156cdd658126f13a /src/element.js
parent2a4e6b7eef91b74d6fea06c18f6d3171750bc445 (diff)
downloadsvg.js-8b253f88504cdaec23be84564a5a6781ed7a7066.tar.gz
svg.js-8b253f88504cdaec23be84564a5a6781ed7a7066.zip
Renamed the parentDoc() method to doc()
Diffstat (limited to 'src/element.js')
-rw-r--r--src/element.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/element.js b/src/element.js
index 7da6e25..e7161c0 100644
--- a/src/element.js
+++ b/src/element.js
@@ -101,7 +101,7 @@ SVG.extend(SVG.Element, {
return this.parent != null ? this.parent.remove(this) : void 0;
},
// Get parent document
- parentDoc: function() {
+ doc: function() {
return this._parent(SVG.Doc);
},
// Set svg element attribute