http://gwt-code-reviews.appspot.com/1873803/diff/1/user/src/com/google/gwt/dom/client/Element.java
File user/src/com/google/gwt/dom/client/Element.java (right):
http://gwt-code-reviews.appspot.com/1873803/diff/1/user/src/com/google/gwt/dom/client/Element.java#newcode104
On Tue, Dec 4, 2012 at 12:35 PM, gok...@google.com wrote:
I just checked jquery and the algorithm is close to your suggestion:
- adds spaces around element className
- replaces all different kind of space patterns with a single space
using regex
- adds space around incoming class name
http://gwt-code-reviews.appspot.com/1873803/diff/1/user/src/com/google/gwt/dom/client/Element.java
File user/src/com/google/gwt/dom/client/Element.java (right):
http://gwt-code-reviews.appspot.com/1873803/diff/1/user/src/com/google/gwt/dom/client/Element.java#newcode565