1
0
Fork 0
Commit Graph

1 Commits (1b4ebc13e39cf9fcf05d567ac81bf8b84f3730f1)

Author SHA1 Message Date
Mike Gerwitz 7567306123 FieldStyler: Remove classes not added by #addClass
This code assumed that no classes would be removed that were _not_
added by #addClass.  Well, that's false.

* src/ui/styler/FieldStyler.js (removeClass): Consider both spaces and
  boundary preceding class name.

* test/ui/styler/FieldStylerTest.js: Add test case.
2017-03-17 14:11:16 -04:00