Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Fix ready annotation to return void. (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks authored Feb 13, 2018
1 parent 7431ea3 commit 0a472b3
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 94 deletions.
2 changes: 1 addition & 1 deletion iron-overlay-behavior.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ declare namespace Polymer {
* you can override this method to return only `[firstFocusable, lastFocusable];`
*/
_focusableNodes(): Node[];
ready(): any;
ready(): void;
attached(): any;
detached(): any;

Expand Down
3 changes: 3 additions & 0 deletions iron-overlay-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@
return Polymer.IronFocusablesHelper.getTabbableNodes(this);
},

/**
* @return {void}
*/
ready: function() {
// Used to skip calls to notifyResize and refit while the overlay is animating.
this.__isAnimating = false;
Expand Down
184 changes: 91 additions & 93 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0a472b3

Please sign in to comment.