diff options
author | Kris Kowal | 2012-07-06 11:52:06 -0700 |
---|---|---|
committer | Kris Kowal | 2012-07-06 15:01:48 -0700 |
commit | 648ee61ae84216d0236e0dbc211addc13b2cfa3a (patch) | |
tree | 8f0f55557bd0c47a84e49c1977c950645d284607 /js/document/templates/app | |
parent | aedd14b18695d031f695d27dfbd94df5614495bb (diff) | |
download | ninja-648ee61ae84216d0236e0dbc211addc13b2cfa3a.tar.gz |
Expand tabs
Diffstat (limited to 'js/document/templates/app')
-rw-r--r-- | js/document/templates/app/main.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/document/templates/app/main.js b/js/document/templates/app/main.js index 6b15bb24..4f1abcf3 100644 --- a/js/document/templates/app/main.js +++ b/js/document/templates/app/main.js | |||
@@ -27,10 +27,10 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |||
27 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 27 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
28 | POSSIBILITY OF SUCH DAMAGE. | 28 | POSSIBILITY OF SUCH DAMAGE. |
29 | </copyright> */ | 29 | </copyright> */ |
30 | var Montage = require("montage/core/core").Montage, | 30 | var Montage = require("montage/core/core").Montage, |
31 | Component = require("montage/ui/component").Component, | 31 | Component = require("montage/ui/component").Component, |
32 | Template = require("montage/ui/template").Template, | 32 | Template = require("montage/ui/template").Template, |
33 | TemplateCreator = require("tools/template/template-creator").TemplateCreator; | 33 | TemplateCreator = require("tools/template/template-creator").TemplateCreator; |
34 | 34 | ||
35 | 35 | ||
36 | //var njmodelGet = function njmodelGet() { | 36 | //var njmodelGet = function njmodelGet() { |
@@ -85,7 +85,7 @@ exports.Main = Montage.create(Component, { | |||
85 | var componentRequire = component[data.name]; | 85 | var componentRequire = component[data.name]; |
86 | var componentInstance = componentRequire.create(); | 86 | var componentInstance = componentRequire.create(); |
87 | 87 | ||
88 | componentInstance.identifier = data.identifier; | 88 | componentInstance.identifier = data.identifier; |
89 | componentInstance.addEventListener("firstDraw", self, false); | 89 | componentInstance.addEventListener("firstDraw", self, false); |
90 | 90 | ||
91 | componentInstance.element = element; | 91 | componentInstance.element = element; |