... | @@ -44,7 +44,7 @@ The outline of `main.js` is as follows: |
... | @@ -44,7 +44,7 @@ The outline of `main.js` is as follows: |
|
* Observers. These are called when particular values in the state models changes.
|
|
* Observers. These are called when particular values in the state models changes.
|
|
|
|
|
|
#### Exposed objects
|
|
#### Exposed objects
|
|
The `main.js` exposes some handy channels into the belly of Catalinker with which one can poke and peek around. Among these are the main ractive instance, underscore.js and jQuery.js. These are accessible in browser console as
|
|
The `main.js` exposes some handy channels into the belly of Catalinker with which one can poke and peek around. Among these are the main ractive instance, [underscore](http://underscorejs.org/) and jQuery.js. These are accessible in browser console as
|
|
* `document.main.getRactive()`
|
|
* `document.main.getRactive()`
|
|
* `document.main._`
|
|
* `document.main._`
|
|
* `document.main.$`
|
|
* `document.main.$`
|
... | | ... | |