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

jslint pass jobIdHandler.js

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