Some JSHint fixes#458
Conversation
There was a problem hiding this comment.
This probably fixes a bug. Good find.
There was a problem hiding this comment.
@jerone since you have appeared to resolve the ambiguity please remove the line note too associated with this fix. Won't be available until tomorrow eve for a little bit but looks good so far. Thanks.
|
hmmm direct pr checkout out of this doesn't let me edit my profile at http://localhost:8080/users/Marti e.g. it doesn't think that it's me. |
|
Remaining sequential local merge of current master (50589f1), 451, 455 then 458 causes merge conflict. |
|
@Martii commented on 1 dec. 2014 08:56 CET:
Will check tonight. Thnx for testing. |
|
Ok, found the problem: https://github.com/OpenUserJs/OpenUserJS.org/pull/458/files#diff-664f851728e6fc6ec664075df484505cR246 This problem is a little bit bigger then I hoped it was and requires some discussion (not here) about a real solution. Because of that I'll revert all Some reading: |
|
Needs master merge as I said above at #458 (comment) and complete retesting here. |
…into jshint Conflicts: controllers/admin.js controllers/user.js
|
I appear not to "own" my script at http://localhost:8080/scripts/Marti/uso_-_Count_Issues/source e.g. it says "Submit Code as Fork" instead of "Submit Code". |
|
Leave all equality checks alone. When |
|
I kind of figured that... but I thought I'd give JSHint one last try... I'd still rather see these things split up into smaller chunks... e.g. we do need the semicolon fixes and probably a few other misc TODO fixes... but in separate PRs... I'd do cherry picking distinct commits but that is on hold since it allows chaining changes which sometimes those might need to be discussed first. Anywho my fakes3 crashed in another console tab which is why I was having issues a few moments ago... reverted that system level patch and it's okay now. |
Handled code issues:
all==and!=to===and!==.isPro,isDev&isDbg).aparm lists #267 at 82dc007#diff-590bb4d75f87edbecb61fa8487493291L123Not handled:
isPro,isDev&isDbg. +/-90% of the files have one these unused variables…User.editstill contains a lot of bugs, but this function is never used.No functionality should have been changed!
Node modules are ignored.
Ref #406
A change to get the code to a higher level of quality and consistency.