Skip to content

Commit

Permalink
Clean up enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohsen Azimi committed Oct 15, 2014
1 parent aed68d9 commit 075474d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"excludeFiles": [
"app/scripts/enums/swagger-json-schema.js",
"app/scripts/analytics/google.js",
"app/scripts/plugins/*.js"
"app/scripts/plugins/*.js",
"app/scripts/ace/themes/theme-atom_dark.js"
],
"requireCurlyBraces": [
"if",
Expand Down
2 changes: 1 addition & 1 deletion .jshintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
app/scripts/analytics/google.js
app/scripts/enums/swagger-json-schema.js
app/scripts/enums/defaults.js
app/scripts/plugins/*
app/scripts/ace/themes/theme-atom_dark.js
4 changes: 2 additions & 2 deletions app/scripts/enums/apigee-127.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

PhonicsApp.config(['$provide', function ($provide) {
PhonicsApp.config(function ($provide) {
$provide.constant('defaults',

// BEGIN-DEFAUNTAS-JSON
Expand All @@ -27,4 +27,4 @@ PhonicsApp.config(['$provide', function ($provide) {
// END-DEFAULTS-JSON

);
}]);
});
4 changes: 2 additions & 2 deletions app/scripts/enums/defaults.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

PhonicsApp.config(['$provide', function ($provide) {
PhonicsApp.config(function ($provide) {
$provide.constant('defaults',

// BEGIN-DEFAULTS-JSON
Expand Down Expand Up @@ -29,4 +29,4 @@ PhonicsApp.config(['$provide', function ($provide) {
// END-DEFAULTS-JSON

);
}]);
});
4 changes: 2 additions & 2 deletions app/scripts/enums/strings.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

PhonicsApp.config(['$provide', function ($provide) {
PhonicsApp.config(function ($provide) {
$provide.constant('strings', {
stausMessages: {
'-2': 'Unsaved Changes. Check your server connection',
Expand All @@ -9,4 +9,4 @@ PhonicsApp.config(['$provide', function ($provide) {
1: 'All changes saved.'
}
});
}]);
});
4 changes: 2 additions & 2 deletions app/scripts/enums/swagger-json-schema.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PhonicsApp.config( ['$provide', function ($provide) {
PhonicsApp.config(function ($provide) {
$provide.constant('defaultSchema',

// Scheme JSON:
Expand Down Expand Up @@ -1487,4 +1487,4 @@ PhonicsApp.config( ['$provide', function ($provide) {
}
// End of Schema JSON
);
}]);
});

0 comments on commit 075474d

Please sign in to comment.