Skip to content

Commit

Permalink
Update iron-list to hybrid, removing the 1.x.x version and standardiz…
Browse files Browse the repository at this point in the history
…ing on the 2.x.x version

Upgraded v2/iron-list to v2.0.9 PolymerElements/iron-list@v2.0.5...v2.0.9

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=171737307
  • Loading branch information
valdrinkoshi authored and Tyler Breisacher committed Oct 11, 2017
1 parent dee15e7 commit 55ece60
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion contrib/externs/polymer-1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -1220,8 +1220,10 @@ Polymer.Templatizer = {

/**
* @param {?Element} template
* @param {boolean=} mutableData In Polymer 1.x, passing this argument is a
* no-op.
*/
templatize: function(template) {},
templatize: function(template, mutableData) {},

/**
* Returns the template "model" associated with a given element, which
Expand Down Expand Up @@ -1652,6 +1654,25 @@ Polymer.DomModule = function() {};
*/
Polymer.DomModule.import = function(id, opt_selector) {};

/** @const */
Polymer.Path = {
/**
* @param {string=} base
* @param {string=} newBase
* @param {string=} path
* @return {string}
*/
translate: function(base, newBase, path) {},

/**
* @param {string=} base
* @param {string=} wildcard
* @param {string=} path
* @return {boolean}
*/
matches: function(base, wildcard, path) {}
};

/**
* For compatibility with both Polymer 1.0 and 2.0, code may check for certain
* objects and properties which don't exist in Polymer 1.0.
Expand All @@ -1663,3 +1684,24 @@ Polymer.DomModule.import = function(id, opt_selector) {};

/** @type {undefined} */
var ShadyDOM;

Polymer.flush;
Polymer.enqueueDebouncer;
Polymer.Async.animationFrame;
Polymer.Async.idlePeriod;
Polymer.Async.microTask;
Polymer.Debouncer.debounce;

Polymer.Templatizer.mutableData;
Polymer.Templatizer.parentModel;
Polymer.Templatizer.instanceProps;
Polymer.Templatizer.forwardHostProp;
Polymer.Templatizer.notifyInstanceProp;
Polymer.Templatizer._setPendingPropertyOrPath;
Polymer.Templatizer._setPendingProperty;

/**
* @param {number} index
* @return {boolean}
*/
ArraySelectorElement.prototype.isIndexSelected = function(index) {};

0 comments on commit 55ece60

Please sign in to comment.