REFACTOR: The Favcount library needs global variables

This moves the library into our lib folder, and refactored it to more
modern Javascript. I've kept the MIT license at the top of the file.

Doing this allows us to import it as a library in Ember CLI and ditch
yet another global variable.
This commit is contained in:
Robin Ward
2020-11-17 14:44:18 -05:00
parent 410214e5a9
commit 75e92e1bd7
7 changed files with 69 additions and 111 deletions

View File

@ -59,8 +59,6 @@ def dependencies
}, {
source: 'spectrum-colorpicker/spectrum.css',
public: true
}, {
source: 'favcount/favcount.js'
}, {
source: 'handlebars/dist/handlebars.js'
}, {