[gwt-contrib] Re: added return values to addClassName and removeClassName to let the caller know if the style list... (issue1873803)

2012-12-04 Thread t . broyer
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

[gwt-contrib] Re: added return values to addClassName and removeClassName to let the caller know if the style list... (issue1873803)

2012-12-04 Thread Matthew Dempsky
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

[gwt-contrib] Re: added return values to addClassName and removeClassName to let the caller know if the style list... (issue1873803)

2012-12-04 Thread andrewbachmann
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