add Ox.KEYWORDS
This commit is contained in:
parent
5a2ecca0f1
commit
6c98a82800
1 changed files with 19 additions and 0 deletions
|
@ -53,6 +53,25 @@ Ox.KEYS = {
|
||||||
220: 'backslash', 221: 'closebracket', 222: 'quote', 224: 'meta'
|
220: 'backslash', 221: 'closebracket', 222: 'quote', 224: 'meta'
|
||||||
// see dojo, for ex.
|
// see dojo, for ex.
|
||||||
},
|
},
|
||||||
|
//@ Ox.KEYWORDS <[s]> JavaScript keywords
|
||||||
|
// see https://developer.mozilla.org/en/JavaScript/Reference
|
||||||
|
Ox.KEYWORDS = [
|
||||||
|
'break',
|
||||||
|
'case', 'catch', 'class', 'const', 'continue',
|
||||||
|
'debugger', 'default', 'delete', 'do',
|
||||||
|
'else', 'enum', 'export', 'extends',
|
||||||
|
'false', 'finally', 'for', 'function',
|
||||||
|
'if', 'implements', 'import', 'in', 'instanceof', 'interface',
|
||||||
|
'let', 'module',
|
||||||
|
'new', 'null',
|
||||||
|
'package', 'private', 'protected', 'public',
|
||||||
|
'return',
|
||||||
|
'super', 'switch', 'static',
|
||||||
|
'this', 'throw', 'true', 'try', 'typeof',
|
||||||
|
'var', 'void',
|
||||||
|
'yield',
|
||||||
|
'while', 'with'
|
||||||
|
];
|
||||||
Ox.MAP_TILE_SIZE = 256; // fixme: definitely not needed here
|
Ox.MAP_TILE_SIZE = 256; // fixme: definitely not needed here
|
||||||
//@ Ox.MAX_LATITUDE <n> Maximum latitude of a Mercator projection
|
//@ Ox.MAX_LATITUDE <n> Maximum latitude of a Mercator projection
|
||||||
Ox.MAX_LATITUDE = Ox.deg(Math.atan(Ox.sinh(Math.PI)));
|
Ox.MAX_LATITUDE = Ox.deg(Math.atan(Ox.sinh(Math.PI)));
|
||||||
|
|
Loading…
Reference in a new issue