File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/org/puremvc/typescript/multicore/patterns/command Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ module puremvc
5353 * Initialize the <code>MacroCommand</code>.
5454 *
5555 * In your subclass, override this method to initialize the <code>MacroCommand</code>'s
56- * <i>SubCommand </i> list with <code>ICommand</code> class references like this:
56+ * <i>subCommand </i> list with <code>ICommand</code> class references like this:
5757 *
5858 * <pre>
5959 * // Initialize MyMacroCommand
@@ -111,6 +111,7 @@ module puremvc
111111 */
112112 var commandClassRef :any = subCommands [ i ] ;
113113 var commandInstance :ICommand = < ICommand > /*</>*/ new commandClassRef ( ) ;
114+ commandInstance . initializeNotifier ( this . multitonKey ) ;
114115 commandInstance . execute ( notification ) ;
115116 }
116117
You can’t perform that action at this time.
0 commit comments