4 ms·
Since you seem to care about good Javascript practices given you're linting your code, I'm going to point out that all your modules are exposed in the global sc
by hirokio 12y ago
Since you seem to care about good Javascript practices given you're linting your code, I'm going to point out that all your modules are exposed in the global scope, which isn't the best practice. I'll suggest using something like browserify (as opposed to require.js due to the smaller overhead) to "require" smaller modules within closures to expose one final Timesheet constructor.