Created
August 2, 2018 21:24
-
-
Save jsturgis/a771320a1fcac29577ed6bbb94a0550e to your computer and use it in GitHub Desktop.
Revisions
-
jsturgis created this gist
Aug 2, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ import Ember from 'ember'; export default Ember.Controller.extend({ appName: 'Ember Twiddle', languages: ["HTML","Css","Javascript","php"], name: "John Doe", init() { this._super(...arguments); this.get('languages').forEach( language =>{ var temp=this.get('name')+" Knows "+ language; console.log(temp); }); }, }); This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ <h1>Welcome to {{appName}}</h1> <br> <br> {{outlet}} <br> <br> This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ { "version": "0.15.0", "EmberENV": { "FEATURES": {} }, "options": { "use_pods": false, "enable-testing": false }, "dependencies": { "jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js", "ember": "3.2.2", "ember-template-compiler": "3.2.2", "ember-testing": "3.2.2" }, "addons": { "ember-data": "3.2.0" } }