From 4c8d96241805edd7e1a948a0057f7652222d6172 Mon Sep 17 00:00:00 2001 From: Tristan Cavelier <tristan.cavelier@tiolive.com> Date: Thu, 10 Jan 2013 16:39:39 +0100 Subject: [PATCH] jslint pass doneStatus.js --- src/jio/jobs/status/doneStatus.js | 40 ++++++++++++++++--------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/jio/jobs/status/doneStatus.js b/src/jio/jobs/status/doneStatus.js index 29ccca9..cbb9dee 100644 --- a/src/jio/jobs/status/doneStatus.js +++ b/src/jio/jobs/status/doneStatus.js @@ -1,22 +1,24 @@ -var doneStatus = function(spec, my) { - var that = jobStatus(spec, my); - spec = spec || {}; - my = my || {}; - // Attributes // - // Methods // - that.getLabel = function() { - return 'done'; - }; +/*jslint indent: 2, maxlen: 80, sloppy: true */ +/*global jobStatus: true */ +var doneStatus = function (spec, my) { + var that = jobStatus(spec, my); + spec = spec || {}; + my = my || {}; + // Attributes // + // Methods // + that.getLabel = function () { + return 'done'; + }; - that.canStart = function() { - return false; - }; - that.canRestart = function() { - return false; - }; + that.canStart = function () { + return false; + }; + that.canRestart = function () { + return false; + }; - that.isDone = function() { - return true; - }; - return that; + that.isDone = function () { + return true; + }; + return that; }; -- 2.30.9