]> source.dussan.org Git - svg.js.git/commitdiff
Typo in readme
authorwout <wout@impinc.co.uk>
Wed, 19 Dec 2012 16:26:11 +0000 (17:26 +0100)
committerwout <wout@impinc.co.uk>
Wed, 19 Dec 2012 16:26:11 +0000 (17:26 +0100)
README.md

index 9488fea1d51f02636e48f425330f67fd15b969ea..e6ee3aba942b50966e4f95278be96a5b3eb6beb6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -248,7 +248,7 @@ SVG.extend(SVG.Doc, {
     var children = this.children();
     
     for (var i = 0, l = children.length; i < l; i++) {
-      this.fill({ color: 'pink' });
+      children[i].fill({ color: 'pink' });
     };
     
     return this;