Backbone supports event binding using a map syntax. This change provides support for that syntax. The result of this rule should be identical when the first argument is not an object literal. For simplicity, I didn't consider ambiguous cases such as when the first argument is an identifier, which satisfies my current need. I can make the rule more sophisticated if desired.
Backbone supports event binding using a map syntax. This change provides support for that syntax. The result of this rule should be identical when the first argument is not an object literal. For simplicity, I didn't consider ambiguous cases such as when the first argument is an identifier, which satisfies my current need. I can make the rule more sophisticated if desired.