making creation in `lib.creation`.
This commit is contained in:
parent
a2cbab4a25
commit
e956795953
15
game/game.js
15
game/game.js
|
@ -7773,7 +7773,20 @@
|
|||
return true;
|
||||
}
|
||||
},
|
||||
creation:{},
|
||||
creation:{
|
||||
get array(){
|
||||
return [];
|
||||
},
|
||||
get object(){
|
||||
return {};
|
||||
},
|
||||
get nullObject(){
|
||||
return Object.create(null);
|
||||
},
|
||||
get string(){
|
||||
return "";
|
||||
}
|
||||
},
|
||||
linq:{
|
||||
cselector:{
|
||||
hasAttr:name=>`[${name}]`,
|
||||
|
|
Loading…
Reference in New Issue