You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ class App.Users extends App.Base
64
64
65
65
### Controller Specific JavaScript
66
66
67
-
Executing some JavaScript to run on all controller actions is just a matter of adding it to the class contstructor. In the below example we will change the background color of the page for all actions in ```UsersController```.
67
+
Executing some JavaScript to run on all controller actions is just a matter of adding it to the class constructor. In the below example we will change the background color of the page for all actions in ```UsersController```.
68
68
69
69
```
70
70
# app/assets/javascripts/users.js.coffee
@@ -102,7 +102,7 @@ class App.Base
102
102
)
103
103
```
104
104
105
-
In this example we extracted the rollover action into a new function. Doing so will make the class cleaner and easier to maintain as the application grows. Once again note the ```return this``` in the contructor.
105
+
In this example we extracted the rollover action into a new function. Doing so will make the class cleaner and easier to maintain as the application grows. Once again note the ```return this``` in the constructor.
106
106
107
107
108
108
### Utilities
@@ -170,7 +170,7 @@ class App.Users extends App.Base
170
170
171
171
### Elements
172
172
173
-
An ```Element``` is a class that describes the funcionality of a one off element in the applicattion. A Main Menu is a good example of this since there is usually only a single Main Menu.
173
+
An ```Element``` is a class that describes the functionality of a one off element in the application. A Main Menu is a good example of this since there is usually only a single Main Menu.
0 commit comments