mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-08-14 23:26:02 +08:00
add
This commit is contained in:
parent
b4f808e9a7
commit
56b4b3f8d9
@ -33,10 +33,10 @@ function make_v(envs, keys){
|
|||||||
removeChild: {value: ''},
|
removeChild: {value: ''},
|
||||||
},
|
},
|
||||||
HTMLElement: {
|
HTMLElement: {
|
||||||
style: {value: 'return this._style'},
|
style: {value: 'return this.v_style'},
|
||||||
},
|
},
|
||||||
Element: {
|
Element: {
|
||||||
tagName: {value: 'return this._tagName'},
|
tagName: {value: 'return this.v_tagName'},
|
||||||
},
|
},
|
||||||
Storage:{
|
Storage:{
|
||||||
clear:{ ban: true },
|
clear:{ ban: true },
|
||||||
@ -558,8 +558,8 @@ function make_v(envs, keys){
|
|||||||
` }`,
|
` }`,
|
||||||
` }`,
|
` }`,
|
||||||
` if (!ret){ ret = v_new(HTMLUnknownElement) }`,
|
` if (!ret){ ret = v_new(HTMLUnknownElement) }`,
|
||||||
` if (typeof CSSStyleDeclaration != 'undefined') { ret._style = v_new(CSSStyleDeclaration) }`,
|
` if (typeof CSSStyleDeclaration != 'undefined') { ret.v_style = v_new(CSSStyleDeclaration) }`,
|
||||||
` ret._tagName = name.toUpperCase()`,
|
` ret.v_tagName = name.toUpperCase()`,
|
||||||
` return ret`,
|
` return ret`,
|
||||||
])
|
])
|
||||||
v_cele.push('}')
|
v_cele.push('}')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user