Hypertopic / LaSuli

Social annotation for qualitative analysis
https://hypertopic.org/lasuli
GNU General Public License v3.0
12 stars 4 forks source link

Firefox 20 incompatibility #33

Closed benel closed 11 years ago

benel commented 11 years ago

firefox20bug

benel commented 11 years ago

Comparing the release note with LaSuli code, I found deprecated features such as for each ... in and nsIContentPrefService but not yet removed features. Help would be welcome.

benel commented 11 years ago

An error in the console suggests that this is indeed related to the way for each is now interpreted by Firefox.

benel commented 11 years ago

Firefox now requires for (v of o) instead, unless backward compatibility is explicitly stated in the code source.

benel commented 11 years ago

Topics and viewpoints doesn't appear anymore, nor contextual menus.

The console shows ... is not iterable. In fact, for...of must be used with iterable objects (such as arrays). If o is a vanilla object, the syntax should be for (v of Iterator(o)).