diff options
author | Florrie <towerofnix@gmail.com> | 2018-05-30 18:10:29 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-05-30 18:10:29 -0300 |
commit | 8766d0f6c9fa89c1db9d2df063ffe14603ab5742 (patch) | |
tree | 564cd3ea68aaae50f42e11ce05c0a985bab5974c /record-store.js | |
parent | 12ea120dba62d22e27badd4286f2310f0bc5990c (diff) |
Automatically play next track
Diffstat (limited to 'record-store.js')
-rw-r--r-- | record-store.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/record-store.js b/record-store.js index d0c7623..80c8d3a 100644 --- a/record-store.js +++ b/record-store.js @@ -1,4 +1,4 @@ -const recordSymbolKey = Symbol() +const recordSymbolKey = Symbol('Record symbol') module.exports = class RecordStore { constructor() { @@ -13,7 +13,7 @@ module.exports = class RecordStore { } if (!obj[recordSymbolKey]) { - obj[recordSymbolKey] = Symbol() + obj[recordSymbolKey] = Symbol('Reference to a record') } if (!this.data[obj[recordSymbolKey]]) { |