summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdist/svg.js6
-rw-r--r--gulpfile.js2
-rwxr-xr-xsrc/svg.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/dist/svg.js b/dist/svg.js
index 2eed71f..b8cc083 100755
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -6,7 +6,7 @@
* @copyright Wout Fierens <wout@impinc.co.uk>
* @license MIT
*
-* BUILT: Sun Aug 03 2014 15:28:28 GMT+0200 (W. Europe Daylight Time)
+* BUILT: Sun Aug 03 2014 16:27:52 GMT+0200 (CEST)
*/
(function(root, factory) {
@@ -55,10 +55,10 @@ SVG.eid = function(name) {
// Method for element creation
SVG.create = function(name) {
- // Create element
+ // create element
var element = document.createElementNS(this.ns, name)
- // Apply unique id
+ // apply unique id
element.setAttribute('id', this.eid(name))
return element
diff --git a/gulpfile.js b/gulpfile.js
index e574663..a62d99c 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -102,7 +102,7 @@ gulp.task('unify', ['clean'], function() {
.pipe(header(headerLong, { pkg: pkg }))
.pipe(gulp.dest('dist'))
.pipe(size({ showFiles: true, title: 'Full' }))
-});
+})
/**
‎* uglify the file and show the size of the result
diff --git a/src/svg.js b/src/svg.js
index b616f39..680ffa2 100755
--- a/src/svg.js
+++ b/src/svg.js
@@ -34,10 +34,10 @@ SVG.eid = function(name) {
// Method for element creation
SVG.create = function(name) {
- // Create element
+ // create element
var element = document.createElementNS(this.ns, name)
- // Apply unique id
+ // apply unique id
element.setAttribute('id', this.eid(name))
return element