Skip to content

Commit 5eb1910

Browse files
correct/convert some syntax to proper es6 syntax
1 parent 7ac0593 commit 5eb1910

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/js/services/cordova.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
function CordovaService($document, $timeout, $window, $q) {
55
'ngInject';
66

7-
const defer = $q.defer();
7+
const self = this;
88

9-
let self = this;
9+
const defer = $q.defer();
1010

1111
self.ready = defer.promise;
1212

gulp/tasks/browserify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function buildScript(file) {
4141
}
4242

4343
function loadBrowserPlatform(){
44-
var platformWWW = './platforms/browser/www/';
44+
let platformWWW = './platforms/browser/www/';
4545

4646
if(!fs.existsSync(platformWWW)){
4747
handleErrors('Browser platform not installed!!! Cordova will FAIL');

0 commit comments

Comments
 (0)