Commit 2414744a authored by Tristan Cavelier's avatar Tristan Cavelier

jslint pass onGoingStatus.js

parent c510edfa
var onGoingStatus = function(spec, my) { /*jslint indent: 2, maxlen: 80, sloppy: true */
var that = jobStatus(spec, my); /*global jobStatus: true */
spec = spec || {}; var onGoingStatus = function (spec, my) {
my = my || {}; var that = jobStatus(spec, my);
// Attributes // spec = spec || {};
// Methods // my = my || {};
that.getLabel = function() { // Attributes //
return 'on going'; // Methods //
}; that.getLabel = function () {
return 'on going';
};
that.canStart = function() { that.canStart = function () {
return false; return false;
}; };
that.canRestart = function() { that.canRestart = function () {
return false; return false;
}; };
return that; return that;
}; };
\ No newline at end of file
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