Filter by:
File Violation Severity
libs/riot.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
libs/riot.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
interfaces.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
interfaces.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
base.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
base.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
base.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
base.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
base.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
base.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
base.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
10
 
11
var limitNumber = function(num, min, max) {
12
    return Math.min(max, Math.max(num, min));
13
};
14
 
15
var epsilonEquals = function(a, b) {
16
    return Math.abs(a-b) < 0.00000001;
17
};
18
 
19
// Polyfill from MDN
20
var sign = function(x) {
base.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
libs/codemirror/mode/javascript/test.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
test/jasmine/console.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
test/jasmine/console.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
test/jasmine/console.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
test/jasmine/console.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
test/jasmine/console.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
test/jasmine/console.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice
libs/riot.js vars-on-top   (kritika/ESLint)
All 'var' declarations must be at the top of the function scope
Notice