Class nclosure.examples.simple.Example
- Defined in: example.js
Constructor Attributes | Constructor Name and Description |
---|---|
Example of how to use nclosure project.
|
Field Attributes | Field Name and Description |
---|---|
Wether the timer is finnished
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
<private> |
Create a delayed function which will be executed in 1.5 seconds.
|
<private> |
Tests link to an external library (using additionalDeps option)
|
<private> |
Create a trie and insert some data.
|
Class Detail
nclosure.examples.simple.Example()
Example of how to use nclosure project. The nclosure project allows you
to levarage google's closure compiler and libraries to provide you with a
rich set of tools and type-safety not found in any other JavaScript stack.
This example aims to demonstrate how to use the nclosure tool not teach
you the basics of google closure. For more information on google closure
tools see the Closure Tools project documentation.
- See:
- Closure Tools.
Field Detail
completed
Wether the timer is finnished
Method Detail
-
<private> createDelay_()Create a delayed function which will be executed in 1.5 seconds.
-
<private> testExternalLib_()Tests link to an external library (using additionalDeps option)
-
<private> testTrie_()Create a trie and insert some data. A trie finds the associated data of all prefixes (of 'examples' in this case) in O(L), where L is the length of the key: