Commit graph

13 commits

Author SHA1 Message Date
Filipa Lacerda
696ffac0ec Enable eslint in star and remove from main.js 2017-10-11 08:10:35 +00:00
Phil Hughes
fa2af5e0f5
Flash is now a ES6 module
Reduced the technical debt around our JS flash function by making it a
module that is imported rather than relying on the global function.
The global function still exists mainly for technical debt with how
some requests are being completed, but new JS should import the module
directly.

Also reduces some tech debt in the file by removing the need for jQuery.
Instead Flash is now 100% vanilla JS.
2017-10-10 10:14:22 +01:00
Rémy Coutable
53c5b6717c Fix translations for Star/Unstar in JS file
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-21 12:44:16 +02:00
Mike Greiling
a23db42e07 refactor Star class to ES module syntax 2017-07-06 13:19:41 -05:00
Mike Greiling
c92bcb822c refactor star.js to use ES class syntax 2017-07-06 10:10:00 -05:00
Mike Greiling
c06dad62e1 Remove IIFEs around several javascript classes 2017-07-05 17:20:41 +00:00
Mike Greiling
0f31c5a92b replace implicit this == window with explicit binding 2017-02-17 16:58:32 -06:00
Mike Greiling
ccada28f30 resolve all padded-blocks eslint violations 2017-01-18 17:16:41 -06:00
Mike Greiling
8e0e902b13 resolve all instances of no-undef eslint rule violations 2016-12-14 02:11:13 -06:00
Luke "Jared" Bennett
7cefaea876
explicitly disable eslint inline 2016-11-15 16:30:34 +00:00
Annabel Dunstone Gray
3497d4da3e Remove tooltips from project header 2016-11-01 12:01:13 -05:00
winniehell
02f94cf038 disable ESLint for all JavaScript files 2016-10-26 10:02:58 +02:00
Fatih Acet
aaa9509d12 ES6ify all the things! 2016-07-24 23:45:11 +03:00