Commit 2534a5e1 authored by Tristan Cavelier's avatar Tristan Cavelier

jslint pass jobStatus.js

parent 2414744a
var jobStatus = function(spec, my) {
var that = {};
spec = spec || {};
my = my || {};
// Attributes //
// Methods //
that.getLabel = function() {
return 'job status';
};
/*jslint indent: 2, maxlen: 80, sloppy: true */
/*global jobStatus: true */
var jobStatus = function (spec, my) {
var that = {};
spec = spec || {};
my = my || {};
// Attributes //
// Methods //
that.getLabel = function () {
return 'job status';
};
that.canStart = function() {};
that.canRestart = function() {};
that.canStart = function () {};
that.canRestart = function () {};
that.serialized = function() {
return {label:that.getLabel()};
};
that.serialized = function () {
return {"label": that.getLabel()};
};
that.isWaitStatus = function() {
return false;
};
that.isWaitStatus = function () {
return false;
};
that.isDone = function() {
return false;
};
that.isDone = function () {
return false;
};
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