mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Upstream changes to externs
This commit is contained in:
@@ -78,6 +78,21 @@ function Polymer(init){}
|
||||
*/
|
||||
Polymer.sanitizeDOMValue;
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
Polymer.passiveTouchGestures;
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
Polymer.strictTemplatePolicy;
|
||||
|
||||
/**
|
||||
* @type {boolean}
|
||||
*/
|
||||
Polymer.allowTemplateFromDomModule;
|
||||
|
||||
/**
|
||||
* @param {string} string
|
||||
* @param {Object} obj
|
||||
@@ -172,7 +187,7 @@ var PolymerDeepPropertyChange;
|
||||
* @constructor
|
||||
* @template T
|
||||
*/
|
||||
let DomRepeatEvent = function() {};
|
||||
var DomRepeatEvent = function() {};
|
||||
|
||||
/**
|
||||
* @type {{
|
||||
|
||||
@@ -12,37 +12,37 @@
|
||||
*/
|
||||
/* eslint-disable */
|
||||
|
||||
let HTMLImports = {
|
||||
var HTMLImports = {
|
||||
/**
|
||||
* @param {function()} callback
|
||||
*/
|
||||
whenReady(callback){},
|
||||
whenReady(callback) {},
|
||||
/**
|
||||
* @param {Element} element
|
||||
* @returns {Document} document
|
||||
*/
|
||||
importForElement(element){}
|
||||
importForElement(element) {}
|
||||
};
|
||||
|
||||
window.HTMLImports = HTMLImports;
|
||||
|
||||
let ShadyDOM = {
|
||||
var ShadyDOM = {
|
||||
inUse: false,
|
||||
flush(){},
|
||||
flush() {},
|
||||
/**
|
||||
* @param {!Node} target
|
||||
* @param {function(Array<MutationRecord>, MutationObserver)} callback
|
||||
* @return {MutationObserver}
|
||||
*/
|
||||
observeChildren(target, callback){},
|
||||
observeChildren(target, callback) {},
|
||||
/**
|
||||
* @param {MutationObserver} observer
|
||||
*/
|
||||
unobserveChildren(observer){},
|
||||
unobserveChildren(observer) {},
|
||||
/**
|
||||
* @param {Node} node
|
||||
*/
|
||||
patch(node){}
|
||||
patch(node) {}
|
||||
};
|
||||
|
||||
window.ShadyDOM = ShadyDOM;
|
||||
|
||||
Reference in New Issue
Block a user