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

jslint pass jobStatus.js

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