removed appsettings and replaced version with manifest reference
This commit is contained in:
parent
1d32dcea72
commit
fbc30bacd2
|
@ -1,2 +0,0 @@
|
||||||
angular.module('bit')
|
|
||||||
.constant('appSettings', { 'version': '0.0.1' });
|
|
|
@ -1,7 +1,7 @@
|
||||||
angular
|
angular
|
||||||
.module('bit.settings')
|
.module('bit.settings')
|
||||||
|
|
||||||
.controller('settingsAboutController', function ($scope, appSettings) {
|
.controller('settingsAboutController', function ($scope) {
|
||||||
$scope.year = (new Date()).getFullYear();
|
$scope.year = (new Date()).getFullYear();
|
||||||
$scope.version = appSettings.version;
|
$scope.version = chrome.runtime.getManifest().version;
|
||||||
});
|
});
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
<script src="../lib/angulartics/angulartics-ga.js"></script>
|
<script src="../lib/angulartics/angulartics-ga.js"></script>
|
||||||
|
|
||||||
<script src="app/app.js"></script>
|
<script src="app/app.js"></script>
|
||||||
<script src="app/settings.js"></script>
|
|
||||||
<script src="app/config.js"></script>
|
<script src="app/config.js"></script>
|
||||||
|
|
||||||
<script src="../models/api/requestModels.js"></script>
|
<script src="../models/api/requestModels.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue