I hereby claim:
- I am sivakumar-kailasam on github.
- I am sivakumar_k (https://keybase.io/sivakumar_k) on keybase.
- I have a public key ASBoSm3R1KD-YFO4dUk8nQZqQkXdBP4B3_pz9Kll__WqxAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
My pipeline 1) parses content dirs you configure in e-cli-build: https://github.com/anulman/cook-for-mom/blob/feat/markdown-yml/ember-cli-build.js#L17-L20
2) Passes the resulting components through e-cli-htmlbars (by virtue of including them in the treeForTemplate
); I'm personally preprocessing these between hyde & e-cli-htmlbars to support handlebars / ember env in my templates: https://github.com/anulman/cook-for-mom/blob/feat/markdown-yml/lib/ember-cli-markdownbars/index.js#L16-L40
3) splits remote templates (currently hardcoded, can be made configurable) into the root dir, ie to be distributed in the public
tree
4) The json & content can be fetched from a predictable path:
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
name: 'Ember', | |
//sectionTitle:`I'm an awesome title` | |
}); |
Follow the instructions at https://github.com/github/hub#installation to install hub
Let's say we'd like to help out https://github.com/ember-learn/super-rentals in this example.
hub clone ember-learn/super-rentals
& then cd cd super-rentals
hub fork
, this will automagically fork the current repo under your github username & you'll see the repo getting copied over in the outputgit checkout -b my-fixes
where my-fixes
is the name of the branch where you'll be coding your changes.git push YOUR_GITHUB_USER_NAME my-fixes
, this will push the code from your branch to your copy of the repo under your github user name.git pull-request
from the command line to create a pull request which will give you the link to the created PR.import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
init() { | |
this._super(...arguments); | |
console.clear(); | |
this.get('store').createRecord('profile', {id: 0, name: 'Captain America'}); | |
}, |
import $ from 'jquery'; | |
// import Promise from 'rsvp'; | |
import DS from 'ember-data'; | |
export default DS.Adapter.extend({ | |
findRecord(store, type, id, snapshot) { | |
return {'imgURL': 'New Img comes here'}; | |
}, |
| Mon | Tue | Wed | Thu | Fri | Sat | Sun | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | | 8 | 9 | 10 | 11 | 12 | 13 | 14 | | 15 | 16 | 17 | 18 | 19 | 20 | 21 | | 22 | 23 | 24 | 25 | 26 | 27 | 28 | | 29 | 30 | 31 | | | | |
function onDateSelect(date) { console.log(date.no, date.day);
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
}); |