Skip to content

Commit

Permalink
add missing @this annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
William Chou committed Sep 28, 2016
1 parent be5102b commit aacd43e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/custom-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -1115,14 +1115,16 @@ function createBaseAmpElementProto(win) {
/**
* Collapses the element, and notifies its owner (if there is one) that the
* element is no longer present.
* @this {!Element}
*/
ElementProto.collapse = function() {
this.implementation_./*OK*/collapse();
};

/**
* Called every time an owned AmpElement collapses itself.
* @param {!AmpElement} element
* @param {!Element} element
* @this {!Element}
*/
ElementProto.collapsedCallback = function(element) {
this.implementation_.collapsedCallback(element);
Expand Down

0 comments on commit aacd43e

Please sign in to comment.