diff --git a/addon/locations/router-scroll.js b/addon/locations/router-scroll.js index 49ca65ec..e379cfd4 100644 --- a/addon/locations/router-scroll.js +++ b/addon/locations/router-scroll.js @@ -1,12 +1,10 @@ import Ember from 'ember'; -const uuid = () => { - 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => { - const r = Math.random() * 16 | 0; - const v = c === 'x' ? r : r & 3 | 8; - return v.toString(16); - }); -}; +const uuid = () => 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => { + const r = Math.random() * 16 | 0; + const v = c === 'x' ? r : r & 3 | 8; + return v.toString(16); +}); const { get,