Created
February 19, 2015 20:39
-
-
Save tim-evans/ee1069835abf5dab7f23 to your computer and use it in GitHub Desktop.
Document Title component
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
import Ember from "ember"; | |
export default Ember.Component.extend({ | |
isVirtual: true, | |
tagName: '', | |
render: function (buffer) { | |
let titleTag = document.getElementsByTagName('title')[0]; | |
this._morph = buffer.dom.appendMorph(titleTag); | |
this._super.apply(this, arguments); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment