Skip to content

Commit 654e351

Browse files
committed
cleaned up 'use strict's
1 parent 36e0c1c commit 654e351

File tree

11 files changed

+11
-19
lines changed

11 files changed

+11
-19
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*jslint node: true */
2-
"use strict"
2+
'use strict';
33

44
var server = require('./server');
55
server.start( { port: 3000 } );

app/js/app.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use strict"
2-
31
angular.module('myApp', [
42
'ngRoute',
53
'ui.bootstrap',
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
"use strict"
2-
31
angular.module('myApp').controller('AdministrationController', [
42
function () {
3+
'use strict';
54

65
}]);

app/js/controllers/ProductController.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
"use strict"
2-
31
angular.module('myApp').controller('ProductController', [
42
'$scope',
53
'ProductService',
64
'$modal',
75
function ($scope, productService, $modal) {
6+
'use strict';
87

98
$scope.showDetail = function (id) {
109

app/js/controllers/UserController.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
"use strict"
2-
31
angular.module('myApp').controller('UserController', [
42
'$scope',
53
'UserService',
64
'$modal',
75
function ($scope, userService, $modal) {
6+
'use strict';
87

98
$scope.showDetail = function (id) {
109

app/js/routes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
"use strict"
2-
31
angular.module('myApp').config(['$routeProvider', function ($routeProvider) {
2+
'use strict';
43

54
$routeProvider.when('/best-deals', {
65
templateUrl: 'views/BestDeals.html',

app/js/services/ProductService.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
"use strict"
2-
31
angular.module('myApp').factory('ProductService', ['$http', function ($http) {
2+
'use strict';
43

54
var host = '/api/Products';
65

app/js/services/UserService.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
"use strict"
2-
31
angular.module('myApp').factory('UserService', ['$http', function ($http) {
2+
'use strict';
43

54
var host = '/api/Users';
65

karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*jslint node: true */
2-
"use strict"
3-
42
module.exports = function (config) {
3+
'use strict';
4+
55
config.set({
66

77
basePath: '',

server-tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*jslint node: true */
2-
"use strict"
2+
'use strict';
33

44
var spawn = require('win-spawn');
55
var server = require('./server.js');

0 commit comments

Comments
 (0)