@polymer/app-layout
Advanced tools
Comparing version 3.0.0-pre.25 to 3.0.0-pre.26
@@ -15,4 +15,2 @@ /** | ||
import * as async from '@polymer/polymer/lib/utils/async.js'; | ||
import {animationFrame} from '@polymer/polymer/lib/utils/async.js'; | ||
@@ -19,0 +17,0 @@ |
@@ -15,3 +15,2 @@ /** | ||
import {dom} from '@polymer/polymer/lib/legacy/polymer.dom.js'; | ||
import * as async from '@polymer/polymer/lib/utils/async.js'; | ||
import {animationFrame} from '@polymer/polymer/lib/utils/async.js'; | ||
@@ -57,14 +56,7 @@ import {Debouncer} from '@polymer/polymer/lib/utils/debounce.js'; | ||
resetLayout: function() { | ||
// Polymer v2.x | ||
var self = this; | ||
var cb = this._updateLayoutStates.bind(this); | ||
if (async && animationFrame) { | ||
this._layoutDebouncer = | ||
Debouncer.debounce(this._layoutDebouncer, animationFrame, cb); | ||
enqueueDebouncer(this._layoutDebouncer); | ||
} | ||
// Polymer v1.x | ||
else { | ||
this.debounce('resetLayout', cb); | ||
} | ||
this._layoutDebouncer = | ||
Debouncer.debounce(this._layoutDebouncer, animationFrame, cb); | ||
enqueueDebouncer(this._layoutDebouncer); | ||
this._notifyDescendantResize(); | ||
@@ -71,0 +63,0 @@ }, |
@@ -11,18 +11,18 @@ { | ||
"devDependencies": { | ||
"@polymer/font-roboto": "^3.0.0-pre.24", | ||
"@polymer/iron-ajax": "^3.0.0-pre.24", | ||
"@polymer/iron-icon": "^3.0.0-pre.24", | ||
"@polymer/iron-icons": "^3.0.0-pre.24", | ||
"@polymer/iron-list": "^3.0.0-pre.24", | ||
"@polymer/iron-pages": "^3.0.0-pre.24", | ||
"@polymer/iron-scroll-threshold": "^3.0.0-pre.24", | ||
"@polymer/paper-fab": "^3.0.0-pre.24", | ||
"@polymer/paper-icon-button": "^3.0.0-pre.24", | ||
"@polymer/paper-item": "^3.0.0-pre.24", | ||
"@polymer/paper-listbox": "^3.0.0-pre.24", | ||
"@polymer/paper-progress": "^3.0.0-pre.24", | ||
"@polymer/paper-spinner": "^3.0.0-pre.24", | ||
"@polymer/paper-styles": "^3.0.0-pre.24", | ||
"@polymer/paper-tabs": "^3.0.0-pre.24", | ||
"@polymer/test-fixture": "^4.0.0-pre.2", | ||
"@polymer/font-roboto": "^3.0.1", | ||
"@polymer/iron-ajax": "^3.0.0-pre.25", | ||
"@polymer/iron-icon": "^3.0.0-pre.25", | ||
"@polymer/iron-icons": "^3.0.0-pre.25", | ||
"@polymer/iron-list": "^3.0.0-pre.25", | ||
"@polymer/iron-pages": "^3.0.0-pre.25", | ||
"@polymer/iron-scroll-threshold": "^3.0.0-pre.25", | ||
"@polymer/paper-fab": "^3.0.0-pre.25", | ||
"@polymer/paper-icon-button": "^3.0.0-pre.25", | ||
"@polymer/paper-item": "^3.0.0-pre.25", | ||
"@polymer/paper-listbox": "^3.0.0-pre.25", | ||
"@polymer/paper-progress": "^3.0.0-pre.25", | ||
"@polymer/paper-spinner": "^3.0.0-pre.25", | ||
"@polymer/paper-styles": "^3.0.0-pre.25", | ||
"@polymer/paper-tabs": "^3.0.0-pre.25", | ||
"@polymer/test-fixture": "^4.0.1", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
@@ -36,14 +36,14 @@ "wct-browser-legacy": "^1.0.1", | ||
"generate-types": "gen-typescript-declarations --deleteExisting --outDir . --verify", | ||
"prepack": "npm run generate-types" | ||
"prepare": "npm run generate-types" | ||
}, | ||
"version": "3.0.0-pre.25", | ||
"version": "3.0.0-pre.26", | ||
"main": "app-layout.js", | ||
"author": "The Polymer Authors", | ||
"dependencies": { | ||
"@polymer/iron-flex-layout": "^3.0.0-pre.24", | ||
"@polymer/iron-media-query": "^3.0.0-pre.24", | ||
"@polymer/iron-resizable-behavior": "^3.0.0-pre.24", | ||
"@polymer/iron-scroll-target-behavior": "^3.0.0-pre.24", | ||
"@polymer/iron-flex-layout": "^3.0.0-pre.25", | ||
"@polymer/iron-media-query": "^3.0.0-pre.25", | ||
"@polymer/iron-resizable-behavior": "^3.0.0-pre.25", | ||
"@polymer/iron-scroll-target-behavior": "^3.0.0-pre.25", | ||
"@polymer/polymer": "^3.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1521488
20977