mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-26 12:25:20 +01:00
a few formatting updates
This commit is contained in:
parent
8a895c8da4
commit
141dfa2dc7
@ -81,7 +81,7 @@ gulp.task('dist:edge', function (cb) {
|
||||
});
|
||||
|
||||
function copyDistEdge(source, dest) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
return new Promise((resolve, reject) => {
|
||||
gulp.src(source)
|
||||
.on('error', reject)
|
||||
.pipe(gulpif('popup/index.html', replace('__BROWSER__', 'edge')))
|
||||
@ -98,7 +98,7 @@ function copyDistEdge(source, dest) {
|
||||
}
|
||||
|
||||
function copyAssetsEdge(source, dest) {
|
||||
return new Promise(function (resolve, reject) {
|
||||
return new Promise((resolve, reject) => {
|
||||
gulp.src(source)
|
||||
.on('error', reject)
|
||||
.pipe(gulpif('AppxManifest.xml', xmlpoke({
|
||||
@ -133,7 +133,7 @@ gulp.task('webfonts', function () {
|
||||
|
||||
// LEGACY CODE!
|
||||
//
|
||||
// Needed untill background.js is converted into a proper webpack compatible file.
|
||||
// Needed until background.js is converted into a proper webpack compatible file.
|
||||
|
||||
gulp.task('lint', function () {
|
||||
return gulp.src([
|
||||
|
@ -1,8 +1,7 @@
|
||||
class StateService {
|
||||
|
||||
class StateService {
|
||||
private state: any = {};
|
||||
|
||||
constructor (private utilsService: any, private constantsService: any) {
|
||||
constructor(private utilsService: any, private constantsService: any) {
|
||||
}
|
||||
|
||||
async init() {
|
||||
|
Loading…
Reference in New Issue
Block a user