mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-23 04:04:25 +08:00
14 lines
361 B
JavaScript
14 lines
361 B
JavaScript
// matchMedia对象
|
|
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["matchMedia"], "length", {
|
|
configurable: true,
|
|
enumerable: false,
|
|
writable: false,
|
|
value: 1
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["matchMedia"], "name", {
|
|
configurable: true,
|
|
enumerable: false,
|
|
writable: false,
|
|
value: 'matchMedia'
|
|
}); |