topleft topright

Welcome, Guest. Please login or register.
May 23, 2013, 12:24:19 AM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.

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


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

A simple fix. The error I received was:

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

Code:
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 PM by puremvc » Logged
Tekool
Moderator
Sr. Member
*****
Posts: 196


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

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
Jump to:  



Login with username, password and session length

Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC
Copyright © 2006-2008 Futurescale, Inc.