fabi1cazenave / webL10n

Client-side internationalization / localization library
http://fabi1cazenave.github.com/webL10n/
278 stars 70 forks source link

Ie7 #8

Closed clochix closed 12 years ago

clochix commented 12 years ago

[ok, new try with only the right commits… I hope]

The main part of this fix is to use an external library (currently Qwery or Sizzle) if querySelectorAll is not available.

Also use the right text property everywhere.

IE7 is not able to fire custom event, so I use a hack for the "localized" event : update a document's attribute. People wanting to handle the event have to attach to "onpropertychange". See example in index.html.

Regards, Monsieur le Génie Des Alpages.