Skip to content

Commit

Permalink
In the md-panel directive the "open" function now returns a "mdPanelR…
Browse files Browse the repository at this point in the history
…ef" wrapped in a promise. Updating externs to reflect that.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=127558022
  • Loading branch information
louied authored and blickly committed Jul 15, 2016
1 parent ba459da commit d733713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/externs/angular-material.js
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ md.$panel.prototype.create = function(opt_config) {};

/**
* @param {!md.$panel.config=} opt_config
* @return {!md.$panel.MdPanelRef}
* @return {!angular.$q.Promise<!md.$panel.MdPanelRef>}
*/
md.$panel.prototype.open = function(opt_config) {};

Expand Down

0 comments on commit d733713

Please sign in to comment.