REFACTOR: Remove `_.range` and use ES6 instead (#31)

REFACTOR: Remove _.range and use ES6 instead (#31)

diff --git a/assets/javascripts/discourse/initializers/cakeday.js.es6 b/assets/javascripts/discourse/initializers/cakeday.js.es6
index 95b532a..ce419a5 100644
--- a/assets/javascripts/discourse/initializers/cakeday.js.es6
+++ b/assets/javascripts/discourse/initializers/cakeday.js.es6
@@ -119,7 +119,7 @@ export default {
     store.addPluralization("anniversary", "anniversaries");
 
     PreferencesController.reopen({
-      days: _.range(1, 32),
+      days: [...Array(32).keys()].splice(1),
 
       @computed
       months() {

GitHub sha: 634a558d

1 Like

This commit appears in #31 which was merged by jbrw.