Skip to content

Commit a2ffd1c

Browse files
author
Cliff Hall
committed
initialize instanceMap
1 parent bc8b015 commit a2ffd1c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/org/puremvc/as3/multicore/core/Controller.as

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55
package org.puremvc.as3.multicore.core
66
{
7-
import org.puremvc.as3.multicore.core.*;
87
import org.puremvc.as3.multicore.interfaces.*;
98
import org.puremvc.as3.multicore.patterns.observer.*;
109

@@ -172,7 +171,7 @@ package org.puremvc.as3.multicore.core
172171
protected var multitonKey : String;
173172

174173
// Singleton instance
175-
protected static var instanceMap : Array;
174+
protected static var instanceMap : Array = new Array();
176175

177176
// Message Constants
178177
protected const MULTITON_MSG : String = "Controller instance for this Multiton key already constructed!";

src/org/puremvc/as3/multicore/core/View.as

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ package org.puremvc.as3.multicore.core
240240
protected var observerMap: Array;
241241

242242
// Singleton instance
243-
protected static var instanceMap : Array;
243+
protected static var instanceMap : Array = new Array();
244244

245245
// The Multiton Key for this app
246246
protected var multitonKey : String;

0 commit comments

Comments
 (0)