Skip to content

Commit

Permalink
fixing issue where shim is a nested addon
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmit committed Jul 18, 2015
1 parent 52f9c71 commit 7aa5d44
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
Empty file removed blueprints/.gitkeep
Empty file.
13 changes: 13 additions & 0 deletions blueprints/ember-moment/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';

module.exports = {
normalizeEntityName: function() {
// this prevents an error when the entityName is
// not specified (since that doesn't actually matter
// to us
},

afterInstall: function() {
return this.addAddonToProject('ember-cli-moment-shim', '~0.3.3');
}
};
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {
name: 'ember-moment',
included: function included(app) {
this._super.included(app);
included: function() {
this._super.included.apply(this, arguments);
}
};
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-moment",
"version": "2.0.0",
"version": "2.0.1",
"description": "Moment.js template helpers for ember",
"directories": {
"doc": "doc",
Expand All @@ -26,6 +26,7 @@
"ember-cli-htmlbars": "0.7.9",
"ember-cli-htmlbars-inline-precompile": "^0.1.1",
"ember-cli-inject-live-reload": "^1.3.0",
"ember-cli-moment-shim": "^0.3.3",
"ember-cli-qunit": "0.3.15",
"ember-cli-release": "0.2.3",
"ember-cli-uglify": "^1.0.1",
Expand All @@ -35,11 +36,12 @@
"ember-try": "0.0.6"
},
"keywords": [
"ember-addon"
"ember-addon",
"moment",
"momentjs"
],
"dependencies": {
"ember-cli-babel": "^5.0.0",
"ember-cli-moment-shim": "0.3.2"
"ember-cli-babel": "^5.0.0"
},
"ember-addon": {
"configPath": "tests/dummy/config"
Expand Down

0 comments on commit 7aa5d44

Please sign in to comment.