Skip to content

Commit 068406f

Browse files
author
tekool
committed
- renamed bool to boolean
- changed new *[]() syntax to new Array<*>()
1 parent 2fad3d7 commit 068406f

File tree

12 files changed

+17
-17
lines changed

12 files changed

+17
-17
lines changed

src/org/puremvc/typescript/multicore/core/Controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ module puremvc
166166
* An <code>ICommand</code> is currently registered for the given
167167
* <code>notificationName</code>.
168168
*/
169-
hasCommand( notificationName:string ):bool
169+
hasCommand( notificationName:string ):boolean
170170
{
171171
return this.commandMap[ notificationName ] != null;
172172
}

src/org/puremvc/typescript/multicore/core/Model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ module puremvc
135135
* @return
136136
* A Proxy is currently registered with the given <code>proxyName</code>.
137137
*/
138-
hasProxy( proxyName:string ):bool
138+
hasProxy( proxyName:string ):boolean
139139
{
140140
return this.proxyMap[ proxyName ] != null;
141141
}

src/org/puremvc/typescript/multicore/core/View.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ module puremvc
273273
* @return
274274
* An <code>IMediator</code> is registered with the given <code>mediatorName</code>.
275275
*/
276-
hasMediator( mediatorName:string ):bool
276+
hasMediator( mediatorName:string ):boolean
277277
{
278278
return this.mediatorMap[ mediatorName ] != null;
279279
}

src/org/puremvc/typescript/multicore/interfaces/IController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module puremvc
6464
* An <code>ICommand</code> is currently registered for the given
6565
* <code>notificationName</code>.
6666
*/
67-
hasCommand( notificationName:string ):bool;
67+
hasCommand( notificationName:string ):boolean;
6868

6969
/**
7070
* Remove a previously registered <code>ICommand</code> to <code>INotification</code>

src/org/puremvc/typescript/multicore/interfaces/IFacade.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ module puremvc
5353
* A <code>Command</code> is currently registered for the given
5454
* <code>notificationName</code>.
5555
*/
56-
hasCommand( notificationName:string ):bool;
56+
hasCommand( notificationName:string ):boolean;
5757

5858
/**
5959
* Register an <code>IProxy</code> with the <code>Model</code> by name.
@@ -95,7 +95,7 @@ module puremvc
9595
* @return
9696
* A <code>Proxy</code> is currently registered with the given <code>proxyName</code>.
9797
*/
98-
hasProxy( proxyName:string ):bool;
98+
hasProxy( proxyName:string ):boolean;
9999

100100
/**
101101
* Register a <code>IMediator</code> with the <code>IView</code>.
@@ -138,7 +138,7 @@ module puremvc
138138
* @return
139139
* An <code>IMediator</code> is registered with the given <code>mediatorName</code>.
140140
*/
141-
hasMediator( mediatorName:string ):bool;
141+
hasMediator( mediatorName:string ):boolean;
142142

143143
/**
144144
* Notify the <code>IObservers</code> for a particular <code>INotification</code>.

src/org/puremvc/typescript/multicore/interfaces/IModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ module puremvc
6060
* @return
6161
* A Proxy is currently registered with the given <code>proxyName</code>.
6262
*/
63-
hasProxy( proxyName:string ):bool;
63+
hasProxy( proxyName:string ):boolean;
6464
}
6565
}

src/org/puremvc/typescript/multicore/interfaces/IObserver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ module puremvc
6565
* @return
6666
* The object and the notification context are the same.
6767
*/
68-
compareNotifyContext( object:any ):bool;
68+
compareNotifyContext( object:any ):boolean;
6969
}
7070
}

src/org/puremvc/typescript/multicore/interfaces/IView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,6 @@ module puremvc
111111
* @return
112112
* A <code>Mediator</code> is registered with the given <code>mediatorName</code>.
113113
*/
114-
hasMediator( mediatorName:string ):bool;
114+
hasMediator( mediatorName:string ):boolean;
115115
}
116116
}

src/org/puremvc/typescript/multicore/patterns/command/MacroCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module puremvc
4545
{
4646
super();
4747

48-
this.subCommands = new Function[]();
48+
this.subCommands = new Array<Function>();
4949
this.initializeMacroCommand();
5050
}
5151

src/org/puremvc/typescript/multicore/patterns/facade/Facade.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ module puremvc
223223
* A <code>Command</code> is currently registered for the given
224224
* <code>notificationName</code>.
225225
*/
226-
hasCommand( notificationName:string ):bool
226+
hasCommand( notificationName:string ):boolean
227227
{
228228
return this.controller.hasCommand(notificationName);
229229
}
@@ -282,7 +282,7 @@ module puremvc
282282
* @return
283283
* A <code>Proxy</code> is currently registered with the given <code>proxyName</code>.
284284
*/
285-
hasProxy( proxyName:string ):bool
285+
hasProxy( proxyName:string ):boolean
286286
{
287287
return this.model.hasProxy( proxyName );
288288
}
@@ -342,7 +342,7 @@ module puremvc
342342
* @return
343343
* An <code>IMediator</code> is registered with the given <code>mediatorName</code>.
344344
*/
345-
hasMediator( mediatorName:string ):bool
345+
hasMediator( mediatorName:string ):boolean
346346
{
347347
return this.view.hasMediator( mediatorName );
348348
}
@@ -440,7 +440,7 @@ module puremvc
440440
* @return
441441
* The core is registered with the given <code>key</code>.
442442
*/
443-
static hasCore( key:string ):bool
443+
static hasCore( key:string ):boolean
444444
{
445445
return Facade.instanceMap[ key ] ? true : false;
446446
}

0 commit comments

Comments
 (0)