summaryrefslogtreecommitdiffstats
path: root/dist/svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/svg.js')
-rw-r--r--dist/svg.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/dist/svg.js b/dist/svg.js
index 54a2346..c810fa0 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -1,9 +1,9 @@
-/* svg.js v0.1-23-g1831089 - svg container element group arrange defs clip gradient doc shape rect circle ellipse path image text sugar - svgjs.com/license */
+/* svg.js v0.1-25-ga2f2323 - svg container element group arrange defs clip gradient doc shape rect circle ellipse path image text sugar - svgjs.com/license */
(function() {
this.SVG = {
- ns: 'http://www.w3.org/2000/svg',
- xlink: 'http://www.w3.org/1999/xlink',
+ ns: 'http://www.w3.org/2000/svg',
+ xlink: 'http://www.w3.org/1999/xlink',
create: function(e) {
return document.createElementNS(this.ns, e);
@@ -13,6 +13,7 @@
for (var k in m)
o.prototype[k] = m[k];
}
+
};
SVG.Container = {
@@ -623,6 +624,11 @@
// set path data
plot: function(d) {
return this.attr('d', d);
+ },
+
+ // move path using translate
+ move: function(x, y) {
+ return this.transform('translate(' + x + ',' + y + ')');
}
});