diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-11-06 22:28:20 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2015-11-06 22:28:20 +0100 |
commit | 3cb00000586340276998144d202d7af35c47ae36 (patch) | |
tree | 6b431cf16f05efeef63e145d1d1dc6aaceede4fb /src/memory.js | |
parent | 2702ceb26d3021720f3ff979bcf5f46fc65699e9 (diff) | |
download | svg.js-3cb00000586340276998144d202d7af35c47ae36.tar.gz svg.js-3cb00000586340276998144d202d7af35c47ae36.zip |
tab to space, block comments to line comments
Diffstat (limited to 'src/memory.js')
-rw-r--r-- | src/memory.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/memory.js b/src/memory.js index 9b6f308..1a30faa 100644 --- a/src/memory.js +++ b/src/memory.js @@ -1,16 +1,16 @@ SVG.extend(SVG.Element, { // Remember arbitrary data remember: function(k, v) { - /* remember every item in an object individually */ + // remember every item in an object individually if (typeof arguments[0] == 'object') for (var v in k) this.remember(v, k[v]) - /* retrieve memory */ + // retrieve memory else if (arguments.length == 1) return this.memory()[k] - /* store memory */ + // store memory else this.memory()[k] = v |