File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ part of puremvc;
9
9
*
10
10
* - Remembering which [ICommand] s are intended to handle which [INotification] s.
11
11
* - Registering itself as an [IObserver] with the [View] for each [INotification] that it has an [ICommand] mapping for.
12
- * - Creating a instance of the proper [ICommand] to handle a given [INotification] when notified by the [IView] .
12
+ * - Creating a new instance of the proper [ICommand] to handle a given [INotification] when notified by the [IView] .
13
13
* - Calling the [ICommand] 's [execute] method, passing in the [INotification] .
14
14
*
15
15
* See [INotification] , [ICommand]
@@ -78,7 +78,7 @@ class Controller implements IController {
78
78
* Register an [INotification] to [ICommand] mapping with the [Controller] .
79
79
*
80
80
* - Param [noteName] - the name of the [INotification] to associate the [ICommand] with.
81
- * - Param [commandFactory] - a function that creates a instance of the [ICommand] .
81
+ * - Param [commandFactory] - a function that creates a new instance of the [ICommand] .
82
82
*/
83
83
void registerCommand (String noteName, Function commandFactory) {
84
84
if (! hasCommand (noteName)) {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ part of puremvc;
9
9
*
10
10
* - Remembering which [ICommand] s are intended to handle which [INotification] s.
11
11
* - Registering itself as an [IObserver] with the [View] for each [INotification] that it has an [ICommand] mapping for.
12
- * - Creating a instance of the proper [ICommand] to handle a given [INotification] when notified by the [IView] .
12
+ * - Creating a new instance of the proper [ICommand] to handle a given [INotification] when notified by the [IView] .
13
13
* - Calling the [ICommand] 's [execute] method, passing in the [INotification] .
14
14
*
15
15
* See [INotification] , [ICommand]
@@ -19,7 +19,7 @@ abstract class IController {
19
19
* Register an [INotification] to [ICommand] mapping with the [IController] .
20
20
*
21
21
* - Param [noteName] - the name of the [INotification] to associate the [ICommand] with.
22
- * - Param [commandFactory] - a function that creates a instance of the [ICommand] .
22
+ * - Param [commandFactory] - a function that creates a new instance of the [ICommand] .
23
23
*/
24
24
void registerCommand (String notificationName, Function commandFactory);
25
25
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ abstract class IFacade extends INotifier {
58
58
* Register an [INotification] to [ICommand] mapping with the [IController] .
59
59
*
60
60
* - Param [noteName] - the name of the [INotification] to associate the [ICommand] with.
61
- * - Param [commandFactory] - a function that creates a instance of the [ICommand] .
61
+ * - Param [commandFactory] - a function that creates a new instance of the [ICommand] .
62
62
*/
63
63
void registerCommand (String noteName, Function commandFactory);
64
64
void executeCommand (String noteName, [dynamic body = null , String ? type]);
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class Facade implements IFacade {
106
106
* Register an [INotification] to [ICommand] mapping with the [Controller] .
107
107
*
108
108
* - Param [noteName] - the name of the [INotification] to associate the [ICommand] with.
109
- * - Param [commandFactory] - a function that creates a instance of the [ICommand] .
109
+ * - Param [commandFactory] - a function that creates a new instance of the [ICommand] .
110
110
*/
111
111
void registerCommand (String noteName, Function commandFactory) {
112
112
controller! .registerCommand (noteName, commandFactory);
You can’t perform that action at this time.
0 commit comments