Files
firefox/testing/eslint-plugin-mozilla/lib/processors
Dave Townsend 587ab97ceb Bug 1231828: Fix XBL preprocesser to properly handle fields, entities and handlers. r=miker
Fixing some XBL files turned up some bugs in the preprocessor:

* XBL fields aren't just simple JS assignements, they are entire JS blocks which
  are evaluated and the result used for the field. So we don't need eslint to
  parse them as an assignment.
* XBL text can contain entities, in general just replacing every entity with a
  valid JS token should retain the meaning well enough for eslint's purposes.
* Events can have names that aren't valid JS identifiers so just don't use them.
2015-12-10 17:15:23 -05:00
..