initial commit
This commit is contained in:
commit
d3fcd7f10c
3159 files changed
+349702
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
|
||||
exports.isatty = function(){
|
||||
return true;
|
||||
};
|
||||
|
||||
exports.getWindowSize = function(){
|
||||
if ('innerHeight' in global) {
|
||||
return [global.innerHeight, global.innerWidth];
|
||||
} else {
|
||||
// In a Web Worker, the DOM Window is not available.
|
||||
return [640, 480];
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user