Skip to content

Instantly share code, notes, and snippets.

@jsturgis
Created July 8, 2016 18:26
Show Gist options
  • Save jsturgis/c23a20d02650e76fcd271d3dc4f5f0ca to your computer and use it in GitHub Desktop.
Save jsturgis/c23a20d02650e76fcd271d3dc4f5f0ca to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
vendorOptions: ['1', '2', '3']
});
<h1>Welcome to {{appName}}</h1>
<br>
<br>
{{outlet}}
<select name="" id="">
{{#each option in vendorOptions}}
<option value={{option}}>{{option}}</option>
{{/each}}
</select>
<br>
<br>
{
"version": "0.10.1",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "1.12.2",
"ember-data": "2.6.1",
"ember-template-compiler": "1.12.2"
},
"addons": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment