diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-21 23:43:28 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-21 23:43:28 +0200 |
commit | 0fa67552247b2d29a6ca438c2605b8db2bbdbab7 (patch) | |
tree | 8109135e2fc141a324e8f21c66243ee4277b3b7c /js/service/Loading.js | |
parent | d3a774b2bd79654360a3ef12618102abf85a2ce3 (diff) |
es6 all the things
Diffstat (limited to 'js/service/Loading.js')
-rw-r--r-- | js/service/Loading.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/service/Loading.js b/js/service/Loading.js index eb42655a5..c07dba9fe 100644 --- a/js/service/Loading.js +++ b/js/service/Loading.js @@ -16,11 +16,11 @@ app.service('Loading', function () { autopaging: false }; - this.setLoading = function (area, isLoading) { + this.setLoading = (area, isLoading) => { this.loading[area] = isLoading; }; - this.isLoading = function (area) { + this.isLoading = (area) => { return this.loading[area]; }; |