Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
sbellity committed Jan 26, 2013
1 parent b20256f commit 9bc0b0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions notes/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ they are responsible for :

Extensions can have multiple forms :

*Module name*

aura().use('my/ext')

*Function*

var ext = function(app) {
Expand All @@ -88,6 +92,7 @@ Extensions can have multiple forms :
*Object litteral*

var ext = {
require: {},
init: function(app) {
app.core.hello = function() { alert("Hello World") };
}
Expand Down

0 comments on commit 9bc0b0b

Please sign in to comment.