summaryrefslogtreecommitdiffstats
path: root/src/pattern.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-06-17 20:17:01 +0200
committerwout <wout@impinc.co.uk>2014-06-17 20:17:01 +0200
commit1c50b34aba8fe613f4002cc84b41411c0f546308 (patch)
treec4ea746d29e650605eec74c17abca0127f37876f /src/pattern.js
parentadad1d062678522e684bfe5216f63a3f400bd3c9 (diff)
downloadsvg.js-1c50b34aba8fe613f4002cc84b41411c0f546308.tar.gz
svg.js-1c50b34aba8fe613f4002cc84b41411c0f546308.zip
Added marker, symbol and dynamic referencing
Diffstat (limited to 'src/pattern.js')
-rwxr-xr-xsrc/pattern.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pattern.js b/src/pattern.js
index e5398d2..76190ef 100755
--- a/src/pattern.js
+++ b/src/pattern.js
@@ -9,7 +9,7 @@ SVG.Pattern = SVG.invent({
, extend: {
// Return the fill id
fill: function() {
- return 'url(#' + this.attr('id') + ')'
+ return 'url(#' + this.id() + ')'
}
// Update pattern by rebuilding
, update: function(block) {