mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 15:42:39 +08:00
e3e1db619f
* Revert "move in port/native to platforms/native (#7962)"
This reverts commit 96871ba26b.
* move port/native into platforms/native
10 lines
195 B
JavaScript
Executable File
10 lines
195 B
JavaScript
Executable File
let HTMLImageElement = require('./HTMLImageElement');
|
|
|
|
class Image extends HTMLImageElement {
|
|
constructor(width, height) {
|
|
super(width, height, true)
|
|
}
|
|
}
|
|
|
|
module.exports = Image;
|