1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-25 12:15:18 +01:00

updared libraries and fixed lint issues

This commit is contained in:
Kyle Spearrin 2016-06-09 21:17:15 -04:00
parent 4b2cbb3e00
commit 8dce9fe049
5 changed files with 27 additions and 27 deletions

View File

@ -3,41 +3,41 @@
"version": "0.0.1", "version": "0.0.1",
"devDependencies": { "devDependencies": {
"connect": "3.4.1", "connect": "3.4.1",
"lodash": "4.2.1", "lodash": "4.13.1",
"gulp": "3.9.0", "gulp": "3.9.1",
"gulp-concat": "2.6.0", "gulp-concat": "2.6.0",
"gulp-cssmin": "0.1.7", "gulp-cssmin": "0.1.7",
"gulp-less": "3.0.5", "gulp-less": "3.1.0",
"gulp-rename": "1.2.2", "gulp-rename": "1.2.2",
"gulp-uglify": "1.5.1", "gulp-uglify": "1.5.3",
"gulp-gh-pages": "0.5.4", "gulp-gh-pages": "0.5.4",
"gulp-preprocess": "2.0.0", "gulp-preprocess": "2.0.0",
"gulp-ng-annotate": "1.1.0", "gulp-ng-annotate": "2.0.0",
"gulp-ng-config": "1.2.1", "gulp-ng-config": "1.3.1",
"jshint": "2.9.1", "jshint": "2.9.2",
"gulp-jshint": "2.0.0", "gulp-jshint": "2.0.1",
"rimraf": "2.5.1", "rimraf": "2.5.2",
"run-sequence": "1.1.5", "run-sequence": "1.2.1",
"merge-stream": "1.0.0", "merge-stream": "1.0.0",
"jquery": "2.2.0", "jquery": "2.2.4",
"font-awesome": "4.5.0", "font-awesome": "4.6.3",
"bootstrap": "3.3.6", "bootstrap": "3.3.6",
"sjcl": "1.0.3", "sjcl": "1.0.3",
"angular": "1.5.0", "angular": "1.5.6",
"angular-resource": "1.5.0", "angular-resource": "1.5.6",
"angular-bootstrap-npm": "0.14.3", "angular-bootstrap-npm": "0.14.3",
"angular-ui-router": "0.2.17", "angular-ui-router": "0.3.1",
"angular-jwt": "0.0.9", "angular-jwt": "0.0.9",
"angular-cookies": "1.5.0", "angular-cookies": "1.5.6",
"admin-lte": "2.3.2", "admin-lte": "2.3.3",
"angular-md5": "0.1.10", "angular-md5": "0.1.10",
"angular-toastr": "1.7.0", "angular-toastr": "1.7.0",
"angular-bootstrap-show-errors": "2.3.0", "angular-bootstrap-show-errors": "2.3.0",
"angular-messages": "1.5.0", "angular-messages": "1.5.6",
"ngstorage": "0.3.10", "ngstorage": "0.3.10",
"papaparse": "4.1.2", "papaparse": "4.1.2",
"toastr": "2.1.2", "toastr": "2.1.2",
"clipboard": "1.5.8", "clipboard": "1.5.12",
"ngclipboard": "1.1.0" "ngclipboard": "1.1.1"
} }
} }

View File

@ -78,7 +78,7 @@ angular
id: unencryptedSite.id, id: unencryptedSite.id,
'type': 1, 'type': 1,
folderId: unencryptedSite.folderId === '' ? null : unencryptedSite.folderId, folderId: unencryptedSite.folderId === '' ? null : unencryptedSite.folderId,
favorite: unencryptedSite.favorite != null ? unencryptedSite.favorite : false, favorite: unencryptedSite.favorite !== null ? unencryptedSite.favorite : false,
uri: cryptoService.encrypt(unencryptedSite.uri, key), uri: cryptoService.encrypt(unencryptedSite.uri, key),
name: cryptoService.encrypt(unencryptedSite.name, key), name: cryptoService.encrypt(unencryptedSite.name, key),
username: !unencryptedSite.username || unencryptedSite.username === '' ? null : cryptoService.encrypt(unencryptedSite.username, key), username: !unencryptedSite.username || unencryptedSite.username === '' ? null : cryptoService.encrypt(unencryptedSite.username, key),

View File

@ -47,7 +47,7 @@
} }
sites.push({ sites.push({
favorite: value.favorite != null ? value.favorite : false, favorite: value.favorite !== null ? value.favorite : false,
uri: value.uri, uri: value.uri,
username: value.username && value.username !== '' ? value.username : null, username: value.username && value.username !== '' ? value.username : null,
password: value.password, password: value.password,

View File

@ -1,2 +1,2 @@
angular.module('bit') angular.module("bit")
.constant('appSettings', {"rememberdEmailCookieName":"bit.rememberedEmail","version":"0.0.1","environment":"Development","apiUri":"http://localhost:4000"}); .constant("appSettings", {"rememberdEmailCookieName":"bit.rememberedEmail","version":"0.0.1","environment":"Development","apiUri":"http://localhost:4000"});

View File

@ -12,7 +12,7 @@
<meta name="x-stylesheet-test-bs" content="" class="invisible" /> <meta name="x-stylesheet-test-bs" content="" class="invisible" />
<script>!function(a,b,c){var d,e=document,f=e.getElementsByTagName('SCRIPT'),g=f[f.length-1].previousElementSibling,h=e.defaultView&&e.defaultView.getComputedStyle?e.defaultView.getComputedStyle(g):g.currentStyle;if(h&&h[a]!==b)for(d=0;d<c.length;d++)e.write('<link rel="stylesheet" href="'+c[d]+'"/>')}('visibility','hidden',['lib\/bootstrap\/css\/bootstrap.min.css']);</script> <script>!function(a,b,c){var d,e=document,f=e.getElementsByTagName('SCRIPT'),g=f[f.length-1].previousElementSibling,h=e.defaultView&&e.defaultView.getComputedStyle?e.defaultView.getComputedStyle(g):g.currentStyle;if(h&&h[a]!==b)for(d=0;d<c.length;d++)e.write('<link rel="stylesheet" href="'+c[d]+'"/>')}('visibility','hidden',['lib\/bootstrap\/css\/bootstrap.min.css']);</script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" /> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" />
<meta name="x-stylesheet-test-fa" content="" class="fa" /> <meta name="x-stylesheet-test-fa" content="" class="fa" />
<script>!function(a,b,c){var d,e=document,f=e.getElementsByTagName('SCRIPT'),g=f[f.length-1].previousElementSibling,h=e.defaultView&&e.defaultView.getComputedStyle?e.defaultView.getComputedStyle(g):g.currentStyle;if(h&&h[a]!==b)for(d=0;d<c.length;d++)e.write('<link rel="stylesheet" href="'+c[d]+'"/>')}('font-family','FontAwesome',['lib\/font-awesome\/css\/font-awesome.min.css']);</script> <script>!function(a,b,c){var d,e=document,f=e.getElementsByTagName('SCRIPT'),g=f[f.length-1].previousElementSibling,h=e.defaultView&&e.defaultView.getComputedStyle?e.defaultView.getComputedStyle(g):g.currentStyle;if(h&&h[a]!==b)for(d=0;d<c.length;d++)e.write('<link rel="stylesheet" href="'+c[d]+'"/>')}('font-family','FontAwesome',['lib\/font-awesome\/css\/font-awesome.min.css']);</script>
@ -29,13 +29,13 @@
<div ui-view></div> <div ui-view></div>
<!-- @if true !> <!-- @if true !>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script>(window.jQuery||document.write('<script src="lib\/jquery\/jquery.min.js"><\/script>'));</script> <script>(window.jQuery||document.write('<script src="lib\/jquery\/jquery.min.js"><\/script>'));</script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script>((window.jQuery&&window.jQuery.fn&&window.jQuery.fn.modal)||document.write('<script src="lib\/bootstrap\/js\/bootstrap.min.js"><\/script>'));</script> <script>((window.jQuery&&window.jQuery.fn&&window.jQuery.fn.modal)||document.write('<script src="lib\/bootstrap\/js\/bootstrap.min.js"><\/script>'));</script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>
<script>(window.angular||document.write('<script src="lib\/angular\/angular.min.js"><\/script>'));</script> <script>(window.angular||document.write('<script src="lib\/angular\/angular.min.js"><\/script>'));</script>
<script src="js/lib.min.js"></script> <script src="js/lib.min.js"></script>