Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
App framework setup with coffee and tests
- Loading branch information
1 parent
7cd934f
commit 929ff76
Showing
6 changed files
with
229 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
onStart = -> | ||
# TODO : Add your Initialize code here | ||
# NOTE : In order to start your app, call "sf.start()" at the end of this function!! | ||
sf.scene.show "Main" | ||
sf.scene.focus "Main" | ||
|
||
onDestroy = -> | ||
#stop your XHR or Ajax operation and put codes to destroy your application here | ||
|
||
alert "init.js loaded." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"directory": "app/bower_components" | ||
} | ||
"directory": "src/<% if (!noAppFramework) { %>app/<% } %>bower_components" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.