Commit 20b49bfa authored by Sven Franck's avatar Sven Franck

jslint pass jobIdHandler.js

parent ee06ecb8
var jobIdHandler = (function(spec) {
var that = {};
spec = spec || {};
// Attributes //
var id = 0;
// Methods //
that.nextId = function() {
id = id + 1;
return id;
};
/*jslint indent: 2, maxlen: 80, sloppy: true */
var jobIdHandler = (function (spec) {
var that = {},
id = 0;
spec = spec || {};
return that;
// Methods //
that.nextId = function () {
id = id + 1;
return id;
};
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