Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: appengine/config_service/ui/bower_components/shadycss/custom-style-interface.min.js

Issue 2923973003: Added base template for config ui. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 (function(){/*
2
3 Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 */
10 'use strict';var c=!(window.ShadyDOM&&window.ShadyDOM.inUse),f;function g(a){f=a &&a.shimcssproperties?!1:c||!(navigator.userAgent.match("AppleWebKit/601")||!win dow.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)"))}window.S hadyCSS&&void 0!==window.ShadyCSS.nativeCss?f=window.ShadyCSS.nativeCss:window.S hadyCSS?(g(window.ShadyCSS),window.ShadyCSS=void 0):g(window.WebComponents&&wind ow.WebComponents.flags);var h=f;function k(a,b){for(var d in b)null===d?a.style. removeProperty(d):a.style.setProperty(d,b[d])};var l=null,m=window.HTMLImports&& window.HTMLImports.whenReady||null,q;function r(){var a=t;requestAnimationFrame( function(){m?m(a):(l||(l=new Promise(function(a){q=a}),"complete"===document.rea dyState?q():document.addEventListener("readystatechange",function(){"complete"== =document.readyState&&q()})),l.then(function(){a&&a()}))})};var u=null,t=null;fu nction v(){this.customStyles=[];this.enqueued=!1}function x(a){!a.enqueued&&t&&( a.enqueued=!0,r())}v.prototype.c=function(a){a.__seenByShadyCSS||(a.__seenByShad yCSS=!0,this.customStyles.push(a),x(this))};v.prototype.b=function(a){if(a.__sha dyCSSCachedStyle)return a.__shadyCSSCachedStyle;var b;a.getStyle?b=a.getStyle(): b=a;return b};
11 v.prototype.a=function(){for(var a=this.customStyles,b=0;b<a.length;b++){var d=a [b];if(!d.__shadyCSSCachedStyle){var e=this.b(d);if(e){var n=e.__appliedElement; if(n)for(var p=0;p<e.attributes.length;p++){var w=e.attributes[p];n.setAttribute (w.name,w.value)}e=n||e;u&&u(e);d.__shadyCSSCachedStyle=e}}}return a};v.prototyp e.addCustomStyle=v.prototype.c;v.prototype.getStyleForCustomStyle=v.prototype.b; v.prototype.processStyles=v.prototype.a;
12 Object.defineProperties(v.prototype,{transformCallback:{get:function(){return u} ,set:function(a){u=a}},validateCallback:{get:function(){return t},set:function(a ){var b=!1;t||(b=!0);t=a;b&&x(this)}}});var y=new v;window.ShadyCSS||(window.Sha dyCSS={prepareTemplate:function(){},styleSubtree:function(a,b){y.a();k(a,b)},sty leElement:function(){y.a()},styleDocument:function(a){y.a();k(document.body,a)}, getComputedStyleValue:function(a,b){return(a=window.getComputedStyle(a).getPrope rtyValue(b))?a.trim():""},nativeCss:h,nativeShadow:c});window.ShadyCSS.CustomSty leInterface=y;}).call(this);
13
14 //# sourceMappingURL=custom-style-interface.min.js.map
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698