Review Request: kjs: Implement standard String.trim, also non-standard trimLeft & trimRight

Bernd Buschinski b.buschinski at googlemail.com
Fri May 4 18:40:23 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104857/
-----------------------------------------------------------

Review request for kdelibs.


Description
-------

kjs: Implement standard String.trim, also non-standard trimLeft & trimRight

As trimLeft&trimRight are very similar and easy to implement in trim, and all modern browser support it as well, I also added it.

depends on https://git.reviewboard.kde.org/r/104855/


Diffs
-----

  kjs/string_object.h e890d52 
  kjs/string_object.cpp 170e2f7 

Diff: http://git.reviewboard.kde.org/r/104857/diff/


Testing
-------

ecma Strimg.trim tests


Thanks,

Bernd Buschinski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120504/b2223a9d/attachment.htm>


More information about the kde-core-devel mailing list