diff --git a/app/js/app.js b/app/js/app.js index b896ff0a..08c716d4 100755 --- a/app/js/app.js +++ b/app/js/app.js @@ -1,6 +1,6 @@ angular.module('app', ['ui.router', 'ct.ui.router.extras.sticky', 'ui.sortable', 'shipyard', 'ngLodash', 'app.templates']) -.run(['$rootScope', '$location', '$window', '$document', '$state', 'commonArray', 'shipPurpose', 'shipSize', 'hardPointClass', 'GroupMap', 'Persist', 'Discounts', -function($rootScope, $location, $window, $doc, $state, CArr, shipPurpose, sz, hpc, GroupMap, Persist, Discounts) { +.run(['$rootScope', '$location', '$window', '$document', '$state', 'commonArray', 'shipSize', 'hardPointClass', 'GroupMap', 'Persist', 'Discounts', +function($rootScope, $location, $window, $doc, $state, CArr, sz, hpc, GroupMap, Persist, Discounts) { // App is running as a standalone web app on tablet/mobile var isStandAlone; // This was causing issues on Windows phones ($window.external was causing Angular js to throw an exception). Backup is to try this and set isStandAlone to false if this fails. @@ -35,7 +35,6 @@ function($rootScope, $location, $window, $doc, $state, CArr, shipPurpose, sz, hp // Global Reference variables $rootScope.CArr = CArr; - $rootScope.SP = shipPurpose; $rootScope.SZ = sz; $rootScope.HPC = hpc; $rootScope.GMAP = GroupMap; diff --git a/app/js/shipyard/module-shipyard.js b/app/js/shipyard/module-shipyard.js index 7782e3bb..368e5f78 100755 --- a/app/js/shipyard/module-shipyard.js +++ b/app/js/shipyard/module-shipyard.js @@ -66,13 +66,6 @@ angular.module('shipyard', ['ngLodash']) sb: 'Shield Booster', tp: 'Torpedo Pylon' }) - .value('shipPurpose', { - mp: 'Multi Purpose', - fr: 'Freighter', - ex: 'Explorer', - co: 'Combat', - pa: 'Passenger Transport' - }) .value('shipSize', [ 'N/A', 'Small',