This repository was archived by the owner on Jun 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
This repository was archived by the owner on Jun 23, 2018. It is now read-only.
JSRepl tests fail #87
Copy link
Copy link
Open
Description
I get
should succesfully eval a basic predefined and tested piece of code for scheme
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for apl
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for javascript
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for brainfuck
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for unlambda
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for lolcode
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for kaffeine
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for move
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for emoticon
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for bloop
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for forth
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for lua
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for python
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for ruby
undefined
Uncaught SyntaxError: Unexpected token <
should succesfully eval a basic predefined and tested piece of code for roy
undefined
Uncaught SyntaxError: Unexpected token <
But the other tests did just fine.
And I get this error
Uncaught TypeError: Cannot read property 'Eval' of undefined
Uncaught ReferenceError: output is not definedwhen with this code:
1 <script src="jsrepl.js" id="jsrepl-script"></script>
2 <script>
3 var jsrepl = new JSREPL({
4 output: outputCallback,
5 result: resultCallback,
6 });
7 function outputCallback () {
8 }
9 function resultCallback(result) {
10 alert(result)
11 }
12 jsrepl.loadLanguage('python', function () {
13 alert('Python loaded');
14 });
15 jsrepl.eval('1+1');
16 </script>
17 this is my testMetadata
Metadata
Assignees
Labels
No labels