This repository has been archived by the owner on Nov 3, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16252 from mcav/jslint-clock
Bug 972463 - [Clock] jslintify all the things. r=millermedeiros
- Loading branch information
Showing
53 changed files
with
158 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
{ | ||
"extends": "../../.jshintrc", | ||
"predef": [ | ||
"define", | ||
"require" | ||
] | ||
"globals": { | ||
"define": false, | ||
"require": false, | ||
"KeyEvent": false, | ||
"requirejs": false, | ||
"indexedDB": false, | ||
"mozRequestAnimationFrame": false, | ||
"requestAnimationFrame": false, | ||
"cancelAnimationFrame": false, | ||
"Event": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
define(function(require, exports) { | ||
|
||
'use strict'; | ||
|
||
// --------------------------------------------------------- | ||
// Constants | ||
|
||
var DAYS = exports.DAYS = [ | ||
exports.DAYS = [ | ||
'monday', 'tuesday', 'wednesday', 'thursday', 'friday', | ||
'saturday', 'sunday' | ||
]; | ||
|
||
var RDAYS = exports.RDAYS = DAYS.map(function(_, n) { | ||
exports.RDAYS = exports.DAYS.map(function(_, n) { | ||
return n; | ||
}); | ||
|
||
var WEEKDAYS = exports.WEEKDAYS = [0, 1, 2, 3, 4].map(function(x) { | ||
return DAYS[x]; | ||
exports.WEEKDAYS = [0, 1, 2, 3, 4].map(function(x) { | ||
return exports.DAYS[x]; | ||
}); | ||
|
||
var WEEKENDS = exports.WEEKENDS = [5, 6].map(function(x) { | ||
return DAYS[x]; | ||
exports.WEEKENDS = [5, 6].map(function(x) { | ||
return exports.DAYS[x]; | ||
}); | ||
|
||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.