Move all DOM related stuff into ui.coffee

This commit is contained in:
Serene Han 2016-02-03 20:59:13 -08:00
parent 7677707249
commit caba2cc8f8
4 changed files with 77 additions and 62 deletions

View file

@ -8,6 +8,7 @@ FILES = [
'proxypair.coffee'
'websocket.coffee'
'broker.coffee'
'ui.coffee'
'snowflake.coffee'
]
FILES_TEST = [
@ -33,12 +34,6 @@ task 'test', 'snowflake unit tests', ->
throw err if err
console.log stdout + stderr
# task 'build:embed', 'build the snowflake badge', ->
# exec 'mkdir -p build'
# concatCoffeeFiles()
# copyStaticFiles()
# compileCoffee()
task 'build', 'build the snowflake proxy', ->
exec 'mkdir -p build'
concatCoffeeFiles()
@ -54,4 +49,4 @@ task 'lint', 'ensure idiomatic coffeescript', ->
task 'clean', 'remove all built files', ->
exec 'rm -r build'
exec 'rm -r test'
exec 'rm -r test/snowflake.bundle.coffee'