Skip to content

Instantly share code, notes, and snippets.

@peterchoo
peterchoo / keybase.md
Created October 20, 2017 11:16
keybase.md

Keybase proof

I hereby claim:

  • I am peterchoo on github.
  • I am peterchoo (https://keybase.io/peterchoo) on keybase.
  • I have a public key ASBTzpqu_f4SMi5YdtybyFZZzlJ2by4tXCsg0kK7mKOZPwo

To claim this, I am signing this object:

@peterchoo
peterchoo / helper.js
Created April 9, 2015 11:46
Sample helper package
MyObject = {};
/**
* Common functions
*/
MyObject.common = function() {};
/**
* Client only
@peterchoo
peterchoo / README.md
Created October 3, 2014 10:13
Ember-CLI Addon Chaining - Running sub-addon blueprints automatically

Calling sub-addon blueprints from our blueprint

With Ember-CLI you now need to run ember generate <addon-name> to instantiate the addon into your application. This is also true with sub-addons.

Using the above method, you can essentially run ember generate <sub-addon-name>. The addon needs to be included as a hard dependency in your package.json. We can then configure our blueprint in blueprints/<addon-name>/index.js.