diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-10-27 22:43:30 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-10-27 22:43:30 +0200 |
commit | a612dc0dd5b911728a7089900138727f1eec549e (patch) | |
tree | a5c6864b20d9f862a51e09a62b1e8775284ac5a1 /src/tools.js | |
parent | 1c75fcaf02ceb144152d59557643c6fdd7264065 (diff) | |
download | svg.js-a612dc0dd5b911728a7089900138727f1eec549e.tar.gz svg.js-a612dc0dd5b911728a7089900138727f1eec549e.zip |
resolve last circular dependencies, make rollup work
Diffstat (limited to 'src/tools.js')
-rw-r--r-- | src/tools.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/tools.js b/src/tools.js index 2733af4..7e58865 100644 --- a/src/tools.js +++ b/src/tools.js @@ -1,14 +1,6 @@ import {ns} from './namespaces.js' import {capitalize} from './helpers.js' -// Element id sequence -let did = 1000 - -// Get next named element id -export function eid (name) { - return 'Svgjs' + capitalize(name) + (did++) -} - export function nodeOrNew (name, node) { return node || makeNode(name) } |