From ebaf33845a592bc93ee87c9ae4f252c1f9c21ac8 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 7 Feb 2016 23:40:39 +0100 Subject: [PATCH] Add 'use strict'. --- accountant/frontend/static/js/accounts.js | 1 + accountant/frontend/static/js/app.js | 2 ++ accountant/frontend/static/js/operations.js | 2 ++ accountant/frontend/static/js/scheduler.js | 2 ++ 4 files changed, 7 insertions(+) diff --git a/accountant/frontend/static/js/accounts.js b/accountant/frontend/static/js/accounts.js index c103df1..5e63943 100644 --- a/accountant/frontend/static/js/accounts.js +++ b/accountant/frontend/static/js/accounts.js @@ -15,6 +15,7 @@ along with Accountant. If not, see . */ // vim: set tw=80 ts=2 sw=2 sts=2: +'use strict'; accountantApp diff --git a/accountant/frontend/static/js/app.js b/accountant/frontend/static/js/app.js index 7ac207c..e5b52a3 100644 --- a/accountant/frontend/static/js/app.js +++ b/accountant/frontend/static/js/app.js @@ -14,6 +14,8 @@ You should have received a copy of the GNU Affero General Public License along with Accountant. If not, see . */ +'use strict'; + var accountantApp = angular.module("accountantApp", [ 'ngResource', 'ngRoute', 'mgcrea.ngStrap', diff --git a/accountant/frontend/static/js/operations.js b/accountant/frontend/static/js/operations.js index a787063..4ba0213 100644 --- a/accountant/frontend/static/js/operations.js +++ b/accountant/frontend/static/js/operations.js @@ -15,6 +15,8 @@ along with Accountant. If not, see . */ // vim: set tw=80 ts=2 sw=2 sts=2: +'use strict'; + accountantApp .factory("Operation", [ "$resource", function($resource) { diff --git a/accountant/frontend/static/js/scheduler.js b/accountant/frontend/static/js/scheduler.js index 8cb312d..1bb544e 100644 --- a/accountant/frontend/static/js/scheduler.js +++ b/accountant/frontend/static/js/scheduler.js @@ -14,6 +14,8 @@ You should have received a copy of the GNU Affero General Public License along with Accountant. If not, see . */ +'use strict'; + accountantApp .factory("ScheduledOperation", ["$resource", function($resource) {