Skip to content

Commit d11bfaa

Browse files
committed
Start internal ID counter at 1000 to avoid collisions
Fixes goldfire#764
1 parent f093377 commit d11bfaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/howler.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
var self = this || Howler;
3232

3333
// Create a global ID counter.
34-
self._counter = 0;
34+
self._counter = 1000;
3535

3636
// Internal properties.
3737
self._codecs = {};

0 commit comments

Comments
 (0)