From ce90550042ffe6c490f1f4a8153ea2f5da4d48f5 Mon Sep 17 00:00:00 2001 From: Mike Samuel Date: Tue, 9 May 2017 12:25:14 -0400 Subject: [PATCH] fix bad rebase merged --- standalone/polymer-resin.js | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/standalone/polymer-resin.js b/standalone/polymer-resin.js index 4416d81..03b8fe0 100644 --- a/standalone/polymer-resin.js +++ b/standalone/polymer-resin.js @@ -1,9 +1,4 @@ -<<<<<<< HEAD -var n=function(a,d,b){return a.call.apply(a.bind,arguments)},p=function(a,d,b){if(!a)throw Error();if(2")&&(a=a.replace(v,">"));-1!=a.indexOf('"')&&(a=a.replace(y,"""));-1!=a.indexOf("'")&&(a=a.replace(z,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(A,"�"))}return a},t=/&/g,u=//g,y=/"/g,z=/'/g,A=/\x00/g,B=/[\x00&<>"']/, -aa=function(a){return String(a).replace(/\-([a-z])/g,function(a,b){return b.toUpperCase()})};var E=function(){this.f=D};E.prototype.o=!0;E.prototype.l=function(){return""};E.prototype.toString=function(){return"Const{}"};var F=function(a){return a instanceof E&&a.constructor===E&&a.f===D?"":"type_error:Const"},D={};var H=function(){this.f=G};H.prototype.o=!0;var G={};H.prototype.l=function(){return""};var ba=function(a){return a instanceof H&&a.constructor===H&&a.f===G?"":"type_error:SafeScript"};var J=function(){this.f=I};J.prototype.o=!0;var I={};J.prototype.l=function(){return""};var ca=function(a){return a instanceof J&&a.constructor===J&&a.f===I?"":"type_error:SafeStyle"};var L=function(){this.f=K};L.prototype.o=!0;L.prototype.l=function(){return""};var da=function(a){return a instanceof L&&a.constructor===L&&a.f===K?"":"type_error:TrustedResourceUrl"},K={};var N=function(){this.f="";this.A=M};N.prototype.o=!0;N.prototype.l=function(){return this.f};var ea=function(a){return a instanceof N&&a.constructor===N&&a.A===M?a.f:"type_error:SafeUrl"},fa=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,M={},O=function(a){var d=new N;d.f=a;return d};O("about:blank");var Q=function(){this.f=P};Q.prototype.o=!0;Q.prototype.l=function(){return""};var ga=function(a){return a instanceof Q&&a.constructor===Q&&a.f===P?"":"type_error:SafeHtml"},P={};/* -======= (function(){'use strict';var p=function(a,b,d){return a.call.apply(a.bind,arguments)},q=function(a,b,d){if(!a)throw Error();if(2/g,y=/"/g,z=/'/g,A=/\x00/g,B=/[\x00&<>"']/,aa=function(a){return String(a).replace(/\-([a-z])/g,function(a,d){return d.toUpperCase()})};var D=function(){this.f=C};D.prototype.o=!0;D.prototype.l=function(){return""};D.prototype.toString=function(){return"Const{}"};var E=function(a){return a instanceof D&&a.constructor===D&&a.f===C?"":"type_error:Const"},C={};var G=function(){this.f=F};G.prototype.o=!0;var F={};G.prototype.l=function(){return""};var ba=function(a){return a instanceof G&&a.constructor===G&&a.f===F?"":"type_error:SafeScript"};var I=function(){this.f=H};I.prototype.o=!0;var H={};I.prototype.l=function(){return""};var ca=function(a){return a instanceof I&&a.constructor===I&&a.f===H?"":"type_error:SafeStyle"};var K=function(){this.f=J};K.prototype.o=!0;K.prototype.l=function(){return""};var da=function(a){return a instanceof K&&a.constructor===K&&a.f===J?"":"type_error:TrustedResourceUrl"},J={};var M=function(){this.f="";this.A=L};M.prototype.o=!0;M.prototype.l=function(){return this.f};var ea=function(a){return a instanceof M&&a.constructor===M&&a.A===L?a.f:"type_error:SafeUrl"},fa=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,L={},N=function(a){var b=new M;b.f=a;return b};N("about:blank");var P=function(){this.f=O};P.prototype.o=!0;P.prototype.l=function(){return""};var ga=function(a){return a instanceof P&&a.constructor===P&&a.f===O?"":"type_error:SafeHtml"},O={};/* ->>>>>>> 688168e... polymer-resin: handle attributes with kind ENUM Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at @@ -16,22 +11,6 @@ aa=function(a){return String(a).replace(/\-([a-z])/g,function(a,b){return b.toUp subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ -<<<<<<< HEAD -var ha={align:1,alt:1,bgcolor:1,border:1,checked:1,"class":1,color:1,cols:1,colspan:1,dir:8,disabled:1,"for":10,height:1,hidden:1,href:4,id:10,name:10,placeholder:1,rel:1,role:1,rows:1,rowspan:1,selected:1,size:1,src:4,style:5,target:8,title:1,valign:1,value:1,width:1},R={a:{href:[{c:3}]},area:{href:[{c:3}]},audio:{src:[{c:3}]},blockquote:{cite:[{c:3}]},button:{formaction:[{c:3}],formmethod:[{c:1}],type:[{c:1}]},command:{type:[{c:1}]},del:{cite:[{c:3}]},form:{action:[{c:3}],method:[{c:1}]},img:{src:[{c:3}]}, -input:{formaction:[{c:3}],formmethod:[{c:1}],max:[{c:1}],min:[{c:1}],src:[{c:3}],step:[{c:1}],type:[{c:1}]},ins:{cite:[{c:3}]},li:{type:[{c:1}]},link:{href:[{c:3,g:"rel",h:"alternate"},{c:3,g:"rel",h:"author"},{c:3,g:"rel",h:"bookmark"},{c:3,g:"rel",h:"canonical"},{c:3,g:"rel",h:"cite"},{c:3,g:"rel",h:"help"},{c:3,g:"rel",h:"icon"},{c:3,g:"rel",h:"license"},{c:3,g:"rel",h:"next"},{c:3,g:"rel",h:"prefetch"},{c:3,g:"rel",h:"prerender"},{c:3,g:"rel",h:"prev"},{c:3,g:"rel",h:"search"},{c:3,g:"rel",h:"subresource"}], -media:[{c:1}],type:[{c:1}]},menuitem:{icon:[{c:3}]},ol:{type:[{c:1}]},q:{cite:[{c:3}]},source:{media:[{c:1}],src:[{c:3}]},style:{media:[{c:1}]},video:{poster:[{c:3}],src:[{c:3}]}},S={a:1,abbr:1,address:1,applet:4,area:5,article:1,aside:1,audio:1,b:1,base:4,bdi:1,bdo:1,blockquote:1,body:1,br:5,button:1,canvas:1,caption:1,cite:1,code:1,col:5,colgroup:1,command:1,data:1,datalist:1,dd:1,del:1,details:1,dfn:1,dialog:1,div:1,dl:1,dt:1,em:1,embed:4,fieldset:1,figcaption:1,figure:1,font:1,footer:1,form:1, -frame:1,frameset:1,h1:1,h2:1,h3:1,h4:1,h5:1,h6:1,head:1,header:1,hr:5,html:1,i:1,iframe:4,img:5,input:5,ins:1,kbd:1,keygen:5,label:1,legend:1,li:1,link:5,main:1,map:1,mark:1,math:4,menu:1,menuitem:1,meta:4,meter:1,nav:1,noscript:1,object:4,ol:1,optgroup:1,option:1,output:1,p:1,param:5,picture:1,pre:1,progress:1,q:1,rb:1,rp:1,rt:1,rtc:1,ruby:1,s:1,samp:1,script:3,section:1,select:1,slot:1,small:1,source:5,span:1,strong:1,style:2,sub:1,summary:1,sup:1,svg:4,table:1,tbody:1,td:1,template:4,textarea:1, -tfoot:1,th:1,thead:1,time:1,title:1,tr:1,track:5,u:1,ul:1,"var":1,video:1,wbr:5};var T={accept_charset:"acceptCharset",accesskey:"accessKey",alink:"aLink",allowfullscreen:"allowFullscreen",bgcolor:"bgColor",cellpadding:"cellPadding",cellspacing:"cellSpacing","char":"ch",charoff:"chOff",checked:"defaultChecked","class":"className",codebase:"codeBase",codetype:"codeType",contenteditable:"contentEditable",crossorigin:"crossOrigin",datetime:"dateTime",dirname:"dirName","for":"htmlFor",formaction:"formAction",formenctype:"formEnctype",formmethod:"formMethod",formnovalidate:"formNoValidate", -formtarget:"formTarget",frameborder:"frameBorder",http_equiv:"httpEquiv",innerhtml:"innerHTML",innertext:"innerText",inputmode:"inputMode",ismap:"isMap",longdesc:"longDesc",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",muted:"defaultMuted",nodevalue:"nodeValue",nohref:"noHref",noresize:"noResize",noshade:"noShade",novalidate:"noValidate",nowrap:"noWrap",outerhtml:"outerHTML",outertext:"outerText",readonly:"readOnly",selected:"defaultSelected", -tabindex:"tabIndex",textcontent:"textContent",truespeed:"trueSpeed",usemap:"useMap",valign:"vAlign",value:"defaultValue",valueasdate:"valueAsDate",valueasnumber:"valueAsNumber",valuetype:"valueType",vlink:"vLink"},U=null;var W={},X=!1,Y=0,ia=/^(?!(?:annotation-xml|color-profile|font-face|font-face(?:-(?:src|uri|format|name))?|missing-glyph)$)[a-z][a-z.0-9_\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u200c\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\udfff\uf900-\ufdcf\ufdf0-\ufffd]*-[\-a-z.0-9_\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u200c\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\udfff\uf900-\ufdcf\ufdf0-\ufffd]*$/,Z=function(a,d){var b=window.customElements;if(X){for(var l=Polymer.telemetry.registrations, -q=l.length,w=Y;w")&&(a=a.replace(w,">")),-1!=a.indexOf('"')&&(a=a.replace(y,""")),-1!=a.indexOf("'")&&(a=a.replace(z,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(A,"�")));return a},v:null,j:P,m:ga};b[3]={filter:function(a,c,b){a=b;a instanceof M||(a=a.o?a.l():String(a),fa.test(a)||(a="about:invalid#zClosurez"),a=N(a));return a.l()}, v:"about:invalid#zClosurez",j:M,m:ea};b[4]={filter:function(){return"about:invalid#zClosurez"},v:"about:invalid#zClosurez",j:K,m:da};b[5]={filter:function(){return"zClosurez"},v:"zClosurez",j:I,m:ca};b[7]={filter:function(){return"/*zClosurez*/"},v:"/*zClosurez*/",j:G,m:ba};b[8]={filter:function(a,c,b){b=String(b).toLowerCase();a:{var d=null;(a=T[a])&&(d=a[c]);if("number"!=typeof d&&((a=T["*"])&&(d=a[c]),"number"!=typeof d)){c=!1;break a}c=!0===ia[d][String(b).toLowerCase()]}return c?b:"zClosurez"}, v:"zClosurez",j:null,m:null};b[9]={filter:function(){return"/*zClosurez*/"},v:"zClosurez",j:D,m:E};b[10]={filter:function(a,b,n){return ka.test(n)?n:"zClosurez"},v:"zClosurez",j:D,m:E};"undefined"!==typeof Polymer&&Polymer.version?a():window.addEventListener("HTMLImportsLoaded",a)})();}()); ->>>>>>> 688168e... polymer-resin: handle attributes with kind ENUM