deazurain / semkey

Semantic Hotkeys as a jQuery plugin
0 stars 0 forks source link

Distinction debug and production code #1

Open jellelicht opened 12 years ago

jellelicht commented 12 years ago

Severity: :palm_tree: There is currently no clear distinction between debug and production code. For example, IE has no method called console.log and would probably not function correctly with your current code.

You might want to wrap debug-only, non cross-platform code such as this in an if-statement or a wrapper function.

deazurain commented 12 years ago

Thanks for letting me know, I've attached the appropriate label.