Closed GoogleCodeExporter closed 9 years ago
IETester can give you a first impression but for real testing (specially for
javascript) you'll need a VM with a real IE.
I'm not understanding what you are trying to do with your code:
1. You get the 'hyphThis'-elements and add a class to them;
2. for each element you call Hyphenator.config() and Hyphenator.run();
Is that right?
1. looks very heavy (I haven't tested it)
2. Don't do that! Hyphenator.run() should be called only once. If not it
processes the whole site each time.
If you have to call it for each element, see
http://code.google.com/p/hyphenator/wiki/en_PublicAPI#mixed_Hyphenator.hyphenate
(mixed_target,_string_lang)
Original comment by mathiasn...@gmail.com
on 29 Apr 2012 at 10:05
Original issue reported on code.google.com by
jurriaan...@hotmail.com
on 12 Feb 2012 at 6:30