Skip to content

Commit

Permalink
fix webcomponent example issue #7056 (#7057)
Browse files Browse the repository at this point in the history
* fix webcomponent example issue #7056

* update fix issue #7056, remove unused web component  callbacks

(cherry picked from commit cd9ad90)
  • Loading branch information
jalexanderfox authored and zpao committed Jul 8, 2016
1 parent ba6ca7f commit ec029f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/webcomponents/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h4>Example Details</h4>

// Define WebComponent
var proto = Object.create(HTMLElement.prototype, {
createdCallback: {
attachedCallback: {
value: function() {
var mountPoint = document.createElement('span');
this.createShadowRoot().appendChild(mountPoint);
Expand Down

0 comments on commit ec029f6

Please sign in to comment.