aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-01-06 20:47:29 +0100
committerwout <wout@impinc.co.uk>2013-01-06 20:47:29 +0100
commit87cef2ab192bbdec602e838ff9d21d2846ecdcd4 (patch)
tree007dd29d9c7003cf2f8bd98d7f0de3aeb1e8b4c4
parent661d1f8058a26f883a17d926577e96dcc3818df0 (diff)
downloadsvg.js-87cef2ab192bbdec602e838ff9d21d2846ecdcd4.tar.gz
svg.js-87cef2ab192bbdec602e838ff9d21d2846ecdcd4.zip
Updated README
-rw-r--r--README.md4
-rw-r--r--dist/svg.js5
2 files changed, 4 insertions, 5 deletions
diff --git a/README.md b/README.md
index 1245e46..b184c1c 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,9 @@
A lightweight library for manipulating and animating SVG.
-Svg.js is licensed under the terms of the MIT License.
+Svg.js has no dependencies and aims to be under 5k gzipped. The base library is 2.7k gzipped, with all bells and whistles about 4.6k.
-The base library is 2.7k gzipped, with all bells and whistles about 4.6k.
+Svg.js is licensed under the terms of the MIT License.
See [svgjs.com](http://svgjs.com) for an introduction, [documentation](http://svgjs.com/docs) and [some action](http://svgjs.com/test).
diff --git a/dist/svg.js b/dist/svg.js
index e77e5e9..cca11d1 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -12,16 +12,15 @@
xlink: 'http://www.w3.org/1999/xlink',
// Defs id sequence
did: 0,
- // Method for element creation
+ // Function for element creation
create: function(element) {
return document.createElementNS(this.ns, element);
},
- // Method for extending objects
+ // Function for extending objects
extend: function(object, module) {
for (var key in module)
object.prototype[key] = module[key];
}
-
};
SVG.Container = {