Account confirmers, Confirmed users
126
edits
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
<pre style="white-space: pre-wrap;">Your add-on calls the setTimeout or setInterval functions with string rather than function arguments, which is normally not allowed. For instance, setTimeout('object.doStuff()') should be written as setTimeout(function () { object.doStuff() }) instead.</pre> | <pre style="white-space: pre-wrap;">Your add-on calls the setTimeout or setInterval functions with string rather than function arguments, which is normally not allowed. For instance, setTimeout('object.doStuff()') should be written as setTimeout(function () { object.doStuff() }) instead.</pre> | ||
== | == Preferences not in "extensions." == | ||
<pre style="white-space: pre-wrap;">Extension preferences should be stored in the "extensions" branch. So rather than "myextension.abcpref" it should "extensions.myextension.abcpref".</pre> | <pre style="white-space: pre-wrap;">Extension preferences should be stored in the "extensions." branch. So rather than "myextension.abcpref" it should "extensions.myextension.abcpref".</pre> |