Engine library doesn't load on the browser

Hi,

Non-Latin characters are not truncated properly so I changed the fragmentText() function to truncate on white space. file is in:

“C:\CocosCreator\resources\engine\cocos2d\core\label\CCTextUtils.js”

The problem is that I see the changes in Cocos Creator editor and the text is truncated as I want, but I see no effect on the browser as the function is never called.

Why possibly is wrong? Thanks.

(I use Cocos Creator 1.10 but also have 2.1.1 installed in C:\CocosCreator_2.1.1)

Any thoughts?