Skip to content

Commit

Permalink
correct/convert some syntax to proper es6 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeForceZero committed Apr 17, 2016
1 parent 7ac0593 commit 5eb1910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/js/services/cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
function CordovaService($document, $timeout, $window, $q) {
'ngInject';

const defer = $q.defer();
const self = this;

let self = this;
const defer = $q.defer();

self.ready = defer.promise;

Expand Down
2 changes: 1 addition & 1 deletion gulp/tasks/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function buildScript(file) {
}

function loadBrowserPlatform(){
var platformWWW = './platforms/browser/www/';
let platformWWW = './platforms/browser/www/';

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

0 comments on commit 5eb1910

Please sign in to comment.