Permalink
Browse files

convert to latest spine

  • Loading branch information...
1 parent ae2f2ef commit 53e8489ec08a14ee66e3bf1b5a203cf945ba6d58 @maccman committed Sep 3, 2011
Showing with 1,322 additions and 448 deletions.
  1. +14 −0 Cakefile
  2. +2 −2 index.html
  3. +149 −0 lib/application.js
  4. +540 −446 lib/spine.js
  5. +24 −0 lib/spine.local.js
  6. +105 −0 src/application.coffee
  7. +472 −0 src/spine.coffee
  8. +16 −0 src/spine.local.coffee
View
@@ -0,0 +1,14 @@
+{print} = require 'sys'
+{spawn} = require 'child_process'
+
+build = (callback) ->
+ coffee = spawn 'coffee', ['-c', '-o', 'lib', 'src']
+ coffee.stderr.on 'data', (data) ->
+ process.stderr.write data.toString()
+ coffee.stdout.on 'data', (data) ->
+ print data.toString()
+ coffee.on 'exit', (code) ->
+ callback?() if code is 0
+
+task 'build', 'Build lib/ from src/', ->
+ build()
View
@@ -8,8 +8,8 @@
<script src="lib/jquery.tmpl.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/spine.js" type="text/javascript" charset="utf-8"></script>
- <script src="lib/spine.model.local.js" type="text/javascript" charset="utf-8"></script>
- <script src="app/application.js" type="text/javascript" charset="utf-8"></script>
+ <script src="lib/spine.local.js" type="text/javascript" charset="utf-8"></script>
+ <script src="lib/application.js" type="text/javascript" charset="utf-8"></script>
<script type="text/x-jquery-tmpl" id="taskTemplate">
<div class="item {{if done}}done{{/if}}">
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 53e8489

Please sign in to comment.