Skip to content

Instantly share code, notes, and snippets.

@mszoernyi
Created September 14, 2015 13:39
Show Gist options
  • Save mszoernyi/ae2e0a423623e82ae88e to your computer and use it in GitHub Desktop.
Save mszoernyi/ae2e0a423623e82ae88e to your computer and use it in GitHub Desktop.
Getting `had no action handler for: doIt` even if action handler is defined in component
class CreativeUploader extends Ember.Component
actions:
doIt: ->
debugger
x = 1
`export default CreativeUploader`
each image in files
if showImageOnly
.icon-delete click="'doIt'"
img id="placeholder" src=image.fileUrl alt="placeholder"
else
figure
div
span
img id="placeholder" src=image.fileUrl alt="placeholder"
figcaption
label Content Type
= image.fileContentType
figcaption
label File Size
= as-filesize image.file.size
figcaption
label Width
= image.fileWidth
figcaption
label Height
= image.fileHeight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment