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).
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 = {