From 2414744a4d19e19c6b266fde2cbba246fd6b5a70 Mon Sep 17 00:00:00 2001 From: Tristan Cavelier <tristan.cavelier@tiolive.com> Date: Thu, 10 Jan 2013 16:41:14 +0100 Subject: [PATCH] jslint pass onGoingStatus.js --- src/jio/jobs/status/onGoingStatus.js | 36 +++++++++++++++------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/src/jio/jobs/status/onGoingStatus.js b/src/jio/jobs/status/onGoingStatus.js index 44691ce..e14205c 100644 --- a/src/jio/jobs/status/onGoingStatus.js +++ b/src/jio/jobs/status/onGoingStatus.js @@ -1,18 +1,20 @@ -var onGoingStatus = function(spec, my) { - var that = jobStatus(spec, my); - spec = spec || {}; - my = my || {}; - // Attributes // - // Methods // - that.getLabel = function() { - return 'on going'; - }; +/*jslint indent: 2, maxlen: 80, sloppy: true */ +/*global jobStatus: true */ +var onGoingStatus = function (spec, my) { + var that = jobStatus(spec, my); + spec = spec || {}; + my = my || {}; + // Attributes // + // Methods // + that.getLabel = function () { + return 'on going'; + }; - that.canStart = function() { - return false; - }; - that.canRestart = function() { - return false; - }; - return that; -}; \ No newline at end of file + that.canStart = function () { + return false; + }; + that.canRestart = function () { + return false; + }; + return that; +}; -- 2.30.9