Last active
August 29, 2015 14:17
-
-
Save jeneg/a3c77a4708ddb78f95ef to your computer and use it in GitHub Desktop.
Revisions
-
jeneg revised this gist
Mar 24, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ (function() { var arr = ['$state', '$stateParams', '$rootScope', '$timeout', '$templateCache', '$compile', 'googleMapService', 'actionCreateService', '$filter', 'configModel']; arr.sort(function (a, b) { a = a.replace('$', ''); -
jeneg revised this gist
Mar 24, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ (function() { var arr = ['$state', '$stateParams', '$rootScope', '$timeout', '$templateCache', '$compile', 'googleMapService', 'appleCreateService', '$filter', 'configModel']; arr.sort(function (a, b) { a = a.replace('$', ''); -
jeneg revised this gist
Mar 24, 2015 . 1 changed file with 17 additions and 16 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,19 @@ /** * Function for alphabetical sort of Angular dependency injections */ (function() { var arr = ['$state', '$stateParams', '$rootScope', '$timeout', '$templateCache', '$compile', 'googleMapService', 'assetCreateService', '$filter', 'configModel']; arr.sort(function (a, b) { a = a.replace('$', ''); b = b.replace('$', ''); if (a < b) { return -1; } if (a > b) { return 1; } return 0; }); console.log("'" + arr.join("', '") + "'"); console.log(arr.join(', ')); }()); -
jeneg created this gist
Mar 24, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ /** * Function for alphabetical sort of Angular dependency injections */ (function() { var arr = ['$state', '$stateParams', '$rootScope', '$timeout', '$templateCache', '$compile', 'googleMapService', 'assetCreateService', '$filter', 'configModel']; arr.sort(function (a, b) { a = a.replace('$', ''); b = b.replace('$', ''); if (a < b) { return -1; } if (a > b) { return 1; } return 0; }); console.log("'" + arr.join("', '") + "'"); console.log(arr.join(', ')); }());