1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-24 17:11:55 +01:00

removed appsettings and replaced version with manifest reference

This commit is contained in:
Kyle Spearrin 2016-09-28 00:01:11 -04:00
parent 1d32dcea72
commit fbc30bacd2
3 changed files with 2 additions and 5 deletions

View File

@ -1,2 +0,0 @@
angular.module('bit')
.constant('appSettings', { 'version': '0.0.1' });

View File

@ -1,7 +1,7 @@
angular
.module('bit.settings')
.controller('settingsAboutController', function ($scope, appSettings) {
.controller('settingsAboutController', function ($scope) {
$scope.year = (new Date()).getFullYear();
$scope.version = appSettings.version;
$scope.version = chrome.runtime.getManifest().version;
});

View File

@ -29,7 +29,6 @@
<script src="../lib/angulartics/angulartics-ga.js"></script>
<script src="app/app.js"></script>
<script src="app/settings.js"></script>
<script src="app/config.js"></script>
<script src="../models/api/requestModels.js"></script>