summaryrefslogtreecommitdiffstats
path: root/src/svg.js
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2014-06-25 15:05:03 +0200
committerwout <wout@impinc.co.uk>2014-06-25 15:05:03 +0200
commite567c774c17e6649041d4972defd1232ab602012 (patch)
tree05140fe4715a652c99f15672e1d56c0fc8426824 /src/svg.js
parentec21f496bddc588e2113fd5418d713ce8ae78f39 (diff)
downloadsvg.js-e567c774c17e6649041d4972defd1232ab602012.tar.gz
svg.js-e567c774c17e6649041d4972defd1232ab602012.zip
Added SVG.Circle, removed structural internal references
Diffstat (limited to 'src/svg.js')
-rwxr-xr-xsrc/svg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg.js b/src/svg.js
index 3c25288..a18e1ca 100755
--- a/src/svg.js
+++ b/src/svg.js
@@ -21,7 +21,7 @@ SVG.did = 1000
// Get next named element id
SVG.eid = function(name) {
- return 'Svgjs' + name.charAt(0).toUpperCase() + name.slice(1) + (SVG.did++)
+ return 'Svgjs' + capitalize(name) + (SVG.did++)
}
// Method for element creation