-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #59 from yapplabs/chore/glimmer
[BREAKING] Update to use glimmer component
- Loading branch information
Showing
31 changed files
with
4,256 additions
and
2,023 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletions
12
...templates/components/render-mobiledoc.hbs → .../components/render-mobiledoc/template.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
{{this.renderedMobiledoc}} | ||
<div ...attributes> | ||
{{this.renderedMobiledoc}} | ||
</div> | ||
|
||
{{#each this._componentCards as |card|}} | ||
{{#ember-wormhole to=card.destinationElementId}} | ||
{{#in-element card.destinationElement}} | ||
{{component card.componentName options=(readonly card.options) payload=(readonly card.payload)}} | ||
{{/ember-wormhole}} | ||
{{/in-element}} | ||
{{/each}} | ||
{{#each this._componentAtoms as |atom|}} | ||
{{#ember-wormhole to=atom.destinationElementId}} | ||
{{#in-element atom.destinationElement}} | ||
{{component atom.componentName options=(readonly atom.options) payload=(readonly atom.payload) value=(readonly atom.value)}} | ||
{{/ember-wormhole}} | ||
{{/in-element}} | ||
{{/each}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from 'ember-mobiledoc-dom-renderer/components/render-mobiledoc/component'; |
2 changes: 1 addition & 1 deletion
2
app/components/render-mobiledoc.js → app/components/render-mobiledoc/template.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export { default } from 'ember-mobiledoc-dom-renderer/components/render-mobiledoc'; | ||
export { default } from 'ember-mobiledoc-dom-renderer/components/render-mobiledoc/template'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es6", | ||
"experimentalDecorators": true | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
"bower_components", | ||
"tmp", | ||
"vendor", | ||
".git", | ||
"dist" | ||
] | ||
} |
Oops, something went wrong.