Commit 4c8d9624 authored by Tristan Cavelier's avatar Tristan Cavelier

jslint pass doneStatus.js

parent eee41ce9
var doneStatus = function(spec, my) { /*jslint indent: 2, maxlen: 80, sloppy: true */
/*global jobStatus: true */
var doneStatus = function (spec, my) {
var that = jobStatus(spec, my); var that = jobStatus(spec, my);
spec = spec || {}; spec = spec || {};
my = my || {}; my = my || {};
// Attributes // // Attributes //
// Methods // // Methods //
that.getLabel = function() { that.getLabel = function () {
return 'done'; return 'done';
}; };
that.canStart = function() { that.canStart = function () {
return false; return false;
}; };
that.canRestart = function() { that.canRestart = function () {
return false; return false;
}; };
that.isDone = function() { that.isDone = function () {
return true; return true;
}; };
return that; return that;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment