577
edits
No edit summary |
|||
| Line 89: | Line 89: | ||
* Need to figure out ContentFrames. | * Need to figure out ContentFrames. | ||
* 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>. '''Then let's simplify to | * 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>. '''Then let's simplify to | ||
require("basic-widget").Widget(options) without the new, using the | |||
auto-constructor pattern.''' | auto-constructor pattern.''' | ||
=== Dependencies & Requirements === | === Dependencies & Requirements === | ||
edits