diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-21 23:49:00 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-05-21 23:49:00 +0200 |
commit | aff0213dc9e4a26f1e006aab1a35b35972167e30 (patch) | |
tree | 1951da9b73736edb9a908ff2b4330e1f8b753940 /js/app | |
parent | 0fa67552247b2d29a6ca438c2605b8db2bbdbab7 (diff) |
const possible values
Diffstat (limited to 'js/app')
-rw-r--r-- | js/app/Config.js | 6 | ||||
-rw-r--r-- | js/app/Run.js | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/js/app/Config.js b/js/app/Config.js index bd38f897b..d347415b9 100644 --- a/js/app/Config.js +++ b/js/app/Config.js @@ -10,7 +10,7 @@ app.config(function ($routeProvider, $provide, $httpProvider) { 'use strict'; - let feedType = { + const feedType = { FEED: 0, FOLDER: 1, STARRED: 2, @@ -39,7 +39,7 @@ app.config(function ($routeProvider, $provide, $httpProvider) { $httpProvider.interceptors.push('CSRFInterceptor'); // routing - let getResolve = (type) => { + const getResolve = (type) => { return { // request to items also returns feeds data: [ @@ -50,7 +50,7 @@ app.config(function ($routeProvider, $provide, $httpProvider) { 'ITEM_BATCH_SIZE', ($http, $route, $q, BASE_URL, ITEM_BATCH_SIZE) => { - let parameters = { + const parameters = { type: type, limit: ITEM_BATCH_SIZE }; diff --git a/js/app/Run.js b/js/app/Run.js index 743f83c9b..1614deef1 100644 --- a/js/app/Run.js +++ b/js/app/Run.js @@ -12,8 +12,6 @@ app.run(($rootScope, $location, $http, $q, $interval, Loading, ItemResource, REFRESH_RATE) => { 'use strict'; - console.log($location); - // show Loading screen Loading.setLoading('global', true); |