Skip to content

Instantly share code, notes, and snippets.

Toran Billups toranb

Block or report user

Report or block toranb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View components.my-button.js
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'button',
click() {
this.sendAction();
}
});
View components.my-numbers.js
import Ember from 'ember';
import hbs from 'htmlbars-inline-precompile';
import connect from 'ember-redux/components/connect';
var stateToComputed = (state) => {
return {
number: state.number
};
};
View store.js
function buildRecord(type, data, store) {
var containerKey = 'model:' + type;
var factory = store.container.lookupFactory(containerKey);
var record = factory.create({
id: data.id,
$data: data
});
View dsmjs-references.md

References - For Later Reading, or Right Now

  1. [Dice][] - where you are, who we are.
  2. [How GitHub Uses GitHub to Build GitHub][githubcubed]
  3. [Forking A Repository on GitHub][githubfork]
  4. [Submitting Pull Requests][githubpull]
  5. [Choosing A License][choosealicense]
  6. [OCTOCATS!!][octocats]
You can’t perform that action at this time.