JSHinting
This commit is contained in:
parent
be221aa88d
commit
65e1466508
4 changed files with 9 additions and 14 deletions
12
.jshintrc
12
.jshintrc
|
@ -19,14 +19,8 @@
|
|||
"dojo" : false,
|
||||
|
||||
"predef" : [
|
||||
// "define",
|
||||
// "suite",
|
||||
// "test",
|
||||
// "teardown",
|
||||
// "setup",
|
||||
// "sinon",
|
||||
// "mocha",
|
||||
// "requirejs"
|
||||
"suite",
|
||||
"test"
|
||||
],
|
||||
|
||||
|
||||
|
@ -38,7 +32,7 @@
|
|||
// ECMAScript 5.
|
||||
"es5" : true, // Allow ECMAScript 5 syntax.
|
||||
"strict" : true, // Require `use strict` pragma in every file.
|
||||
"globalstrict" : true, // Allow global "use strict" (also enables 'strict').
|
||||
"globalstrict" : false, // Allow global "use strict" (also enables 'strict').
|
||||
|
||||
|
||||
// The Good Parts.
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
// public interface methods (exported later)
|
||||
var start = function start() {
|
||||
if (!isOn.bind(this)()) {
|
||||
this.timer = window.setInterval(function uhrTimer() {
|
||||
this.timer = window.setInterval(function () {
|
||||
this.options.time = new Date();
|
||||
update.bind(this)();
|
||||
}.bind(this), 1000);
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* Created by u203395 on 04.07.2014.
|
||||
*/
|
||||
suite('Bärneruhr', function () {
|
||||
"use strict";
|
||||
test('dummy', function () {
|
||||
});
|
||||
});
|
Loading…
Reference in a new issue