diff options
author | wout <wout@impinc.co.uk> | 2013-01-12 17:58:24 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-01-12 17:58:24 +0100 |
commit | 8b253f88504cdaec23be84564a5a6781ed7a7066 (patch) | |
tree | 9239793c270629e66eaf5c7a156cdd658126f13a /dist/svg.js | |
parent | 2a4e6b7eef91b74d6fea06c18f6d3171750bc445 (diff) | |
download | svg.js-8b253f88504cdaec23be84564a5a6781ed7a7066.tar.gz svg.js-8b253f88504cdaec23be84564a5a6781ed7a7066.zip |
Renamed the parentDoc() method to doc()
Diffstat (limited to 'dist/svg.js')
-rw-r--r-- | dist/svg.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dist/svg.js b/dist/svg.js index 7d92372..43f9291 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -1,4 +1,4 @@ -/* svg.js v0.1-84-gd8f4dd3 - svg container element fx event group arrange defs mask pattern gradient doc shape wrap rect ellipse poly path image text nested sugar - svgjs.com/license */ +/* svg.js v0.1-85-g2a4e6b7 - svg container element fx event group arrange defs mask pattern gradient doc shape wrap rect ellipse poly path image text nested sugar - svgjs.com/license */ (function() { this.svg = function(element) { @@ -255,7 +255,7 @@ 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 @@ -719,7 +719,7 @@ SVG.extend(SVG.G, { defs: function() { - return this.parentDoc().defs(); + return this.doc().defs(); } }); @@ -1246,7 +1246,7 @@ var index, length, tspan, style = this._style(), - parent = this.parentDoc(), + parent = this.doc(), lines = text.split("\n"), size = this.style['font-size']; |