linting client side modules

This commit is contained in:
psychobunny
2015-02-25 19:09:39 -05:00
parent c3541dbc95
commit cb1e2c9fef
12 changed files with 20 additions and 12 deletions

View File

@@ -106,7 +106,7 @@ define('forum/topic', [
function getPostIndex() {
var parts = window.location.pathname.split('/');
if (parts[parts.length - 1] && utils.isNumber(parts[parts.length - 1])) {
return parseInt(parts[parts.length - 1], 10)
return parseInt(parts[parts.length - 1], 10);
}
return 0;
}