Closed hirokihara closed 9 years ago
Default javascript code is
console.log('\'Allo \'Allo!');
$(document).on('deviceready', function () {
console.log('deviceready');
});
Append 'use strict'
.
console.log('\'Allo \'Allo!');
$(document).on('deviceready', function () {
'use strict';
console.log('deviceready');
});
Run jshint without errors.
$ grunt jshint
Running "jshint:all" (jshint) task
✔ No problems
Done, without errors.
Execution Time (2014-11-06 23:44:43 UTC)
loading tasks 4s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 97%
jshint:all 124ms ▇▇▇ 3%
Total 4.1s
More good idea?
ummm... sorry i have no idea.
Thank you for the fix :)
run "grunt default" task. but Task "jshint:all" failed.