Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: [Deprecated port] Bug in MacroCommand  (Read 4437 times)
factotvm
Newbie
*
Posts: 2


View Profile Email
« on: February 13, 2009, 03:32:47 »

A simple fix. The error I received was:

Method : "sendNotification" from [function Notifier()] is not implemented by [function MacroCommand()]

:
Index: src/main/javascript/org/puremvc/js/core/PureMVC_JS_1_0.js
===================================================================
@@ -364,7 +364,7 @@
  this._subCommands = new Array();
  this._initializeMacroCommand();
  }
- Objs.implement(MacroCommand,Notifier);
+ Objs.extend(MacroCommand,Notifier);
  Objs.implement(MacroCommand,ICommand);
  Objs.implement(MacroCommand,INotifier);
  var o = MacroCommand.prototype;
« Last Edit: February 15, 2010, 05:05:28 by puremvc » Logged
Tekool
Moderator
Sr. Member
*****
Posts: 192


View Profile WWW Email
« Reply #1 on: February 14, 2009, 06:50:15 »

Thanks factotvm, fixed in the trunk. You can update your project with PureMVC_JS_1_0_1.js I've added in the trunk of the PureMVC_JS repository.

Logged
Pages: [1]
Print