Skip to content

Commit

Permalink
Merge pull request #219 from alexlafroscia/inject-wormhole-placeholder
Browse files Browse the repository at this point in the history
Inject wormhole outlet through addon hook
  • Loading branch information
miguelcobain committed Nov 13, 2015
2 parents c5d335a + c405a62 commit 37ccdba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Ember Paper Changelog

### 0.2.10
- [#219](https://github.com/miguelcobain/ember-paper/pull/219) Inject wormhole outlet through addon hook

### 0.2.9 (Sep 20, 2015)
- [#140](https://github.com/miguelcobain/ember-paper/pull/140) Implement Material Menu and Select component.
- [#171](https://github.com/miguelcobain/ember-paper/pull/171) Add support for custom validations in paper-input component.
Expand Down
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ module.exports = {
app.import(app.bowerDirectory + '/matchMedia/matchMedia.js');
app.import('vendor/propagating.js');
},
contentFor: function(type) {
if (type === 'head') {
return "<div id='paper-wormhole'></div>";
}
},
postprocessTree: function(type, tree) {
if (type === 'all' || type === 'styles') {
tree = autoprefixer(tree, { browsers: ['last 2 versions'] });
}

return tree;
}
};
3 changes: 0 additions & 3 deletions tests/dummy/app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<!-- paper-wormhole is needed for fixed positioned components and should be the first element in application.hbs. -->
<div id="paper-wormhole"></div>

{{#paper-nav-container class="site-nav-container"}}
{{#paper-sidenav class="md-sidenav-left md-whiteframe-z2 site-sidenav" locked-open="gt-sm"}}
{{#paper-toolbar class="site-content-toolbar"}}
Expand Down

0 comments on commit 37ccdba

Please sign in to comment.