Skip to content

Instantly share code, notes, and snippets.

@rwjblue
Last active April 21, 2023 17:14
Show Gist options
  • Save rwjblue/8816372 to your computer and use it in GitHub Desktop.
Save rwjblue/8816372 to your computer and use it in GitHub Desktop.
Ember Examples

Plain HTML:

Plain Javascript:

Babel Plugin:

Codemods:

@lessless
Copy link

here is the updated viewName example emberjs/ember.js#11156 (comment)

@KTKate
Copy link

KTKate commented Jul 6, 2015

I use this a lot and appreciate it. :) Thanks for making it.

Not sure the proper way to suggest an edit. In this one http://emberjs.jsbin.com/rwjblue/569/edit?html,js,output there seems to be an extra - before concat in the html. I think this:

{{ef-custom-input id=(-concat elementId "-input" separator="") value=currentValue parent=this}}

should be this:

{{ef-custom-input id=(concat elementId "-input" separator="") value=currentValue parent=this}}

@Cryrivers
Copy link

Really awesome list. Thanks for sharing!

@ericop
Copy link

ericop commented Feb 3, 2016

Awesome list, and amazing reference!
Just one to add to the fix'em up list, http://emberjs.jsbin.com/rwjblue/55/edit - Using liquid-fire animations in globals mode .
If you can compile liquid-fire up to ...-liquid-fire-0.23.0.js and add ember-template-compiler.js I think you'd be most of the way there on version compatibility with Ember 2.3.

@olsi22
Copy link

olsi22 commented Feb 17, 2017

In every example with checkbox or radio button the console gives some error and it cant run . Here is one of the pages example http://emberjs.jsbin.com/rwjblue/58/edit?html,js,output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment