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 /src/text.js | |
parent | 2a4e6b7eef91b74d6fea06c18f6d3171750bc445 (diff) | |
download | svg.js-8b253f88504cdaec23be84564a5a6781ed7a7066.tar.gz svg.js-8b253f88504cdaec23be84564a5a6781ed7a7066.zip |
Renamed the parentDoc() method to doc()
Diffstat (limited to 'src/text.js')
-rw-r--r-- | src/text.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.js b/src/text.js index 985fcbc..ecd8811 100644 --- a/src/text.js +++ b/src/text.js @@ -22,7 +22,7 @@ SVG.extend(SVG.Text, { var index, length, tspan, style = this._style(), - parent = this.parentDoc(), + parent = this.doc(), lines = text.split("\n"), size = this.style['font-size']; |