keithamus/tempus — pull request #32 by johnmarkos (2014-12-08 00:02:43+00:00)
Title: Lint fixes, not including concatenated files.

Lint fixes for tempus.js and tempus.interval.js. The concatenated files still do not pass linting. This is an alternative to setting `white:false` in the .jshintrc.

There's an unmatched brace at the end of tempus.with.interval.js, which causes that file to fail the lint:concatenated check, among other issues.

```
Running "lint:concatenated" (lint) task
Linting tempus.with.interval.js...ERROR
[L1369:C5] Expected 'if' to have an indentation at 1 instead at 5.
if (typeof module != 'undefined' && module.exports) {
[L1370:C9] Expected 'module' to have an indentation at 5 instead at 9.
module.exports = Tempus;
[L1372:C5] Expected '}' to have an indentation at 1 instead at 5.
} else if (typeof define == "function" && define.amd) {
[L1373:C9] Expected 'define' to have an indentation at 5 instead at 9.
define('Tempus', [], function () { return Tempus; });
[L1375:C5] Expected '}' to have an indentation at 1 instead at 5.
} else {
[L1376:C9] Expected 'global' to have an indentation at 5 instead at 9.
global.Tempus = Tempus;
[L1377:C5] Expected '}' to have an indentation at 1 instead at 5.
}
[L1379:C1] Expected '(end)' and instead saw '}'.
}(this, Date, [].slice));
[L1376:C9] 'global' is not defined.
global.Tempus = Tempus;

Task "lint:concatenated" failed. Use --force to continue.

Aborted due to warnings.
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
```