mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-05 18:47:52 +01:00
remove Q library
This commit is contained in:
parent
44eedc8b1d
commit
f1e0681639
@ -163,10 +163,6 @@ gulp.task('lib', ['clean:lib'], function () {
|
|||||||
{
|
{
|
||||||
src: paths.npmDir + 'jquery/dist/jquery.js',
|
src: paths.npmDir + 'jquery/dist/jquery.js',
|
||||||
dest: paths.libDir + 'jquery'
|
dest: paths.libDir + 'jquery'
|
||||||
},
|
|
||||||
{
|
|
||||||
src: paths.npmDir + 'q/q.js',
|
|
||||||
dest: paths.libDir + 'q'
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -46,7 +46,6 @@
|
|||||||
"ngclipboard": "1.1.1",
|
"ngclipboard": "1.1.1",
|
||||||
"node-forge": "0.7.1",
|
"node-forge": "0.7.1",
|
||||||
"papaparse": "4.3.5",
|
"papaparse": "4.3.5",
|
||||||
"q": "1.5.0",
|
|
||||||
"rimraf": "2.6.1",
|
"rimraf": "2.6.1",
|
||||||
"run-sequence": "^2.2.0",
|
"run-sequence": "^2.2.0",
|
||||||
"style-loader": "^0.19.0",
|
"style-loader": "^0.19.0",
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script type="text/javascript" src="lib/jquery/jquery.js"></script>
|
<script type="text/javascript" src="lib/jquery/jquery.js"></script>
|
||||||
<script type="text/javascript" src="lib/q/q.js"></script>
|
|
||||||
<script type="text/javascript" src="lib/tldjs/tld.js"></script>
|
<script type="text/javascript" src="lib/tldjs/tld.js"></script>
|
||||||
<script type="text/javascript" src="lib/forge/forge.js"></script>
|
<script type="text/javascript" src="lib/forge/forge.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
@ -909,7 +909,7 @@ var bg_isBackground = true,
|
|||||||
|
|
||||||
function logout(expired, callback) {
|
function logout(expired, callback) {
|
||||||
bg_userService.getUserId().then(function (userId) {
|
bg_userService.getUserId().then(function (userId) {
|
||||||
return Q.all([
|
return Promise.all([
|
||||||
bg_syncService.setLastSync(new Date(0)),
|
bg_syncService.setLastSync(new Date(0)),
|
||||||
bg_tokenService.clearToken(),
|
bg_tokenService.clearToken(),
|
||||||
bg_cryptoService.clearKeys(),
|
bg_cryptoService.clearKeys(),
|
||||||
|
@ -59,8 +59,7 @@ module.exports = {
|
|||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
$: 'jquery',
|
$: 'jquery',
|
||||||
jQuery: 'jquery',
|
jQuery: 'jquery',
|
||||||
'window.jQuery': 'jquery',
|
'window.jQuery': 'jquery'
|
||||||
'Q': 'q'
|
|
||||||
}),
|
}),
|
||||||
new webpack.optimize.CommonsChunkPlugin({
|
new webpack.optimize.CommonsChunkPlugin({
|
||||||
name: 'popup/vendor',
|
name: 'popup/vendor',
|
||||||
|
Loading…
Reference in New Issue
Block a user