Revision 74c804dc
vigigraph: correction d'une erreur jslint
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@6640 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigigraph/public/js/graph.js | ||
---|---|---|
267 | 267 |
|
268 | 268 |
getStartTime: function () { |
269 | 269 |
var start = this.options.start; |
270 |
if (start == null) |
|
270 |
if (start === null)
|
|
271 | 271 |
// @TODO: cette heure est en localtime a priori. |
272 | 272 |
start = (new Date() / 1000).toInt() - this.options.duration; |
273 | 273 |
if (start < 0) |
Also available in: Unified diff