"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/vue-template-compiler/build.js" between
vue-2.6.11.tar.gz and vue-2.6.12.tar.gz

About: Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

build.js  (vue-2.6.11):build.js  (vue-2.6.12)
skipping to change at line 2699 skipping to change at line 2699
if (child) { if (child) {
if (process.env.NODE_ENV !== 'production' && options.outputSourceRange ) { if (process.env.NODE_ENV !== 'production' && options.outputSourceRange ) {
child.start = start; child.start = start;
child.end = end; child.end = end;
} }
children.push(child); children.push(child);
} }
} }
}, },
comment: function comment (text, start, end) { comment: function comment (text, start, end) {
// adding anyting as a sibling to the root node is forbidden // adding anything as a sibling to the root node is forbidden
// comments should still be allowed, but ignored // comments should still be allowed, but ignored
if (currentParent) { if (currentParent) {
var child = { var child = {
type: 3, type: 3,
text: text, text: text,
isComment: true isComment: true
}; };
if (process.env.NODE_ENV !== 'production' && options.outputSourceRange) { if (process.env.NODE_ENV !== 'production' && options.outputSourceRange) {
child.start = start; child.start = start;
child.end = end; child.end = end;
skipping to change at line 4829 skipping to change at line 4829
var ref = createCompiler(baseOptions); var ref = createCompiler(baseOptions);
var compile = ref.compile; var compile = ref.compile;
var compileToFunctions = ref.compileToFunctions; var compileToFunctions = ref.compileToFunctions;
/* */ /* */
var isAttr = makeMap( var isAttr = makeMap(
'accept,accept-charset,accesskey,action,align,alt,async,autocomplete,' + 'accept,accept-charset,accesskey,action,align,alt,async,autocomplete,' +
'autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,' + 'autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,' +
'checked,cite,class,code,codebase,color,cols,colspan,content,http-equiv,' + 'checked,cite,class,code,codebase,color,cols,colspan,content,' +
'name,contenteditable,contextmenu,controls,coords,data,datetime,default,' + 'contenteditable,contextmenu,controls,coords,data,datetime,default,' +
'defer,dir,dirname,disabled,download,draggable,dropzone,enctype,method,for,' + 'defer,dir,dirname,disabled,download,draggable,dropzone,enctype,for,' +
'form,formaction,headers,height,hidden,high,href,hreflang,http-equiv,' + 'form,formaction,headers,height,hidden,high,href,hreflang,http-equiv,' +
'icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,' + 'icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,' +
'manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,' + 'manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,' +
'muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,' + 'muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,' +
'preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,' + 'preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,' +
'scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,' + 'scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,' +
'spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,' + 'spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,' +
'target,title,type,usemap,value,width,wrap' 'target,title,usemap,value,width,wrap'
); );
/* istanbul ignore next */ /* istanbul ignore next */
var isRenderableAttr = function (name) { var isRenderableAttr = function (name) {
return ( return (
isAttr(name) || isAttr(name) ||
name.indexOf('data-') === 0 || name.indexOf('data-') === 0 ||
name.indexOf('aria-') === 0 name.indexOf('aria-') === 0
) )
}; };
 End of changes. 3 change blocks. 
5 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)