add firefox extension template
This commit is contained in:
15
externs/webextension_polyfill/runtime/PlatformInfo.hx
Normal file
15
externs/webextension_polyfill/runtime/PlatformInfo.hx
Normal file
@@ -0,0 +1,15 @@
|
||||
package webextension_polyfill.runtime;
|
||||
|
||||
/**
|
||||
An object containing information about the current platform.
|
||||
**/
|
||||
typedef PlatformInfo = {
|
||||
/**
|
||||
The operating system the browser is running on.
|
||||
**/
|
||||
var os : PlatformOs;
|
||||
/**
|
||||
The machine's processor architecture.
|
||||
**/
|
||||
var arch : PlatformArch;
|
||||
};
|
Reference in New Issue
Block a user