Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
fix uuidV1 typo for new users
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-weber committed Mar 4, 2016
1 parent bafbb3b commit a102f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function isPlaylistKey(key) {
/* eslint-disable */
// Source: https://gist.github.com/jed/982883.
function uuidV1(a){
return a?(a^Math.random()*16>>a/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,b)
return a?(a^Math.random()*16>>a/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, uuidV1)
}
/* eslint-enable */

Expand Down

0 comments on commit a102f20

Please sign in to comment.