Skip to content
Snippets Groups Projects
Commit 4d91520b authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix type, and take a swing at not jsdoor compatibility.

parent 2477f210
No related branches found
No related tags found
No related merge requests found
Pipeline #7862 failed
......@@ -11,7 +11,7 @@ var type = {
'ascii_str(undefined)' : 'undefined',
'backslash("")' : 'string',
'backslash(null)' : 'object', // null
'backslaash(undefined)' : 'undefined',
'backslash(undefined)' : 'undefined',
'base64_encode("")' : 'object', // null
'base64_encode("1")' : 'string',
'base64_decode("")' : 'object', // null
......@@ -45,7 +45,6 @@ var type = {
'log("")' : 'string',
'md5_calc("")' : 'string',
'mswait()' : 'number',
'netaddr_type("")' : 'number',
'printf()' : 'string',
'read(0)' : 'undefined',
'readln(0)' : 'undefined',
......@@ -84,6 +83,9 @@ var type = {
'yield()' : 'undefined',
};
if (js.global.jsdoor_revision === undefined)
type['netaddr_type("")'] = 'number';
for (var i in type) {
var result;
try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment