 
     dummyImage.src = event.target.result
 
+# We've picked a file - load that badboy up
 onFileSelected = (event) ->
     if event.target.files[0]
         file = event.target.files[0]

init = ->
    if window.File and window.FileReader
        #Set up the listeners for the different groups
        #$('#test-loader').change onFileSelected
        #canvas = $('#output')[0]
        $('#dropdown-height, #dropdown-width').children('.dropdown-menu').find('a').click onDimensionChange


            setActiveField $(event.target).parent('li')
        
    else
        # TODO - provide sensible errors
        alert "noes"

$(document).ready init
