Skip to content

export jslint for commonjs #4

Closed
wants to merge 2 commits into from

3 participants

@kof
kof commented Nov 27, 2010

To avoid ugly evals of jslint in any commonjs env. like nodejs, would be nice to export jslint.

kof added some commits Nov 27, 2010
@kof kof I think there should be typeof predefined[v] !== 'boolean' instead of…
… "predefined[v] !== 'boolean'" because predefined is a has with boolean values :)


Actually there is no need to check the type, better way is just "predefined[v] !== true"
a1c2a4f
@kof kof export jslint for commonjs env 0a6d07b
@douglascrockford
Owner

No thanks. That doesn't need to be in the common source file. It could be trivially appended.

@marcelkorpel

Then you don't have to test for predefined[v] !== true, but could just use
!predefined[v]

kof replied Dec 1, 2010

yes, but it is not explicitly and conflicts with jslint ideas.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.