Skip to content

Commit

Permalink
Update for ember-cli 2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CamonZ committed Jul 12, 2016
1 parent 6943b03 commit c05cdf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion addon/instance-initializers/mapbox-gl.js
@@ -1,5 +1,5 @@
export function initialize(application) {
let config = application.container.lookupFactory('config:environment');
let config = application.resolveRegistration('config:environment');

if (!config.mapbox || !config.mapbox.accessToken) {
console.error('Please specify your mapbox.accessToken in your config.');
Expand Down
7 changes: 1 addition & 6 deletions blueprints/ember-cli-mapbox-gl/index.js
Expand Up @@ -2,10 +2,5 @@

module.exports = {
normalizeEntityName: function() {},

afterInstall: function() {
return this.addBowerPackagesToProject([
{ name: "mapbox-gl-js", target: "0.11.0" }
]);
}
};
};

0 comments on commit c05cdf8

Please sign in to comment.