-
Notifications
You must be signed in to change notification settings - Fork 2
Contribute
Jovan Gerodetti edited this page Jan 28, 2014
·
9 revisions
If you want to contribute to Application Frame here are some points you have to notice:
-
all AF scripts uses only three globals:
-
-
self
- the global object, in a web like environment this is the same aswindow
-
$
- the selector function to select a API of a module or the core AF -
$
- the scope selector function to select a created scope
-
-
if you create a new module, always wrap the code in a closure scope or if possible use the AF wrapper.
-
if you create a new module, the first line in your closure scope is alway
'use strict', this.self= self || this;