Commit eee41ce9 authored by Tristan Cavelier's avatar Tristan Cavelier

jslint pass initialStatus.js

parent 37298d30
var initialStatus = function(spec, my) { /*jslint indent: 2, maxlen: 80, sloppy: true */
var that = jobStatus(spec, my); /*global jobStatus: true */
spec = spec || {}; var initialStatus = function (spec, my) {
my = my || {}; var that = jobStatus(spec, my);
// Attributes // spec = spec || {};
// Methods // my = my || {};
that.getLabel = function() { // Attributes //
return 'initial'; // Methods //
}; that.getLabel = function () {
return "initial";
};
that.canStart = function() { that.canStart = function () {
return true; return true;
}; };
that.canRestart = function() { that.canRestart = function () {
return true; return true;
}; };
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