cocos2d/cocos2d-html5 — pull request #1275 by csaftoiu (2013-11-27 20:22:34+00:00)
Title: Linebreakmodes

add preliminary support for linebreakmodes, paralleling how it used to work on cocos2d-iphone. i see about 3 months ago they removed support for this, though, so not sure if you want to start adding it in here. I will likely try to contribute & bring it back to the -iphone version as well since I actually use it.