captainbrosset/cleanjs — Issue #39: Allow dummy arguments
Author: bbaliguet
Created: 2012-02-09 10:31:20+00:00
State: open

Code:

myMethod = function (dummy, ui) {
// do something with ui only
doSomethingWith(ui);
}

Assuming I need to use only on argument argument, I should be allowed to define dummy arguments which won't be used, but are still needed to match an API.