Sha256: 846db605ac33a72fd5e20bc255f5eb65d173e6b3e4ab9867c739c63603dd9688

Contents?: true

Size: 641 Bytes

Versions: 1

Compression:

Stored size: 641 Bytes

Contents

# # # # # # #
# Uploader  #
# # # # # # #
root = exports ? window

root.appliciousUploaderFileAdded (up, files) ->
	AP.log('YES!', up)
	AP.log( up, files )
	up.refresh() # Reposition Flash/Silverlight
	
root.appliciousUploaderUploadProgress (up, file) ->
	AP.log('YES!', up)
	AP.log( up, file )
	
root.appliciousUploaderFileUploaded (up, file) ->
	AP.log('YES!', up)
	AP.log( up, file )
	
root.appliciousUploaderError (up, error) ->
	AP.log('YES!', up)
	AP.log( up, error )
	up.refresh() # Reposition Flash/Silverlight
	
$(document).ready ->
	
	$('#upload_file').click (e) ->
		AP.Uploader.UploadObj.start()
		e.preventDefault()
		
# - - - #

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicious_utils-0.1.62 lib/generators/templates/applicious_uploader.js.coffee