577
edits
No edit summary |
|||
Line 26: | Line 26: | ||
Used for things that only appear under certain conditions | Used for things that only appear under certain conditions | ||
**/ | **/ | ||
feature = new require(" | feature = new require("simple-feature").Feature(options); | ||
/** | /** | ||
Line 73: | Line 73: | ||
=== Key Issues === | === Key Issues === | ||
* What are the conditions that we should impose on add-ons being included in this UI element. | * What are the conditions that we should impose on add-ons being included in this UI element. | ||
* The code <tt>new require(" | * The code <tt>new require("simple-feature").Feature(options)</tt> is actually wrong due to the way the <tt>new</tt> operator works, which would, this code, regard <tt>require</tt> as a constructor. The correct code would be <tt>new (require("simple-feature")).Feature(options)</tt>. | ||
=== Dependencies & Requirements === | === Dependencies & Requirements === |
edits