Added dialogPolyfill extern to make MDL Dialog work cross browser
Project: http://git-wip-us.apache.org/repos/asf/flex-typedefs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-typedefs/commit/f93c8122 Tree: http://git-wip-us.apache.org/repos/asf/flex-typedefs/tree/f93c8122 Diff: http://git-wip-us.apache.org/repos/asf/flex-typedefs/diff/f93c8122 Branch: refs/heads/master Commit: f93c812282dda1ff4593398eb40326f7adc00d9e Parents: 15115f2 Author: Carlos Rovira <[email protected]> Authored: Fri Jan 20 18:30:30 2017 +0100 Committer: Carlos Rovira <[email protected]> Committed: Fri Jan 20 18:30:30 2017 +0100 ---------------------------------------------------------------------- js/src/main/javascript/missing.js | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-typedefs/blob/f93c8122/js/src/main/javascript/missing.js ---------------------------------------------------------------------- diff --git a/js/src/main/javascript/missing.js b/js/src/main/javascript/missing.js index d3e6d3c..93dc092 100644 --- a/js/src/main/javascript/missing.js +++ b/js/src/main/javascript/missing.js @@ -58,6 +58,17 @@ Window.prototype.document; Window.prototype.resolveLocalFileSystemURL = function(url, successCallback, errorCallback) {} + +/** +* @constructor +*/ +function dialogPolyfill() {}; + +/** +* @param {!Element} element to upgrade, if necessary +*/ +dialogPolyfill.registerDialog = function(element) {}; + /** * @constructor */
