We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b759be9 commit 0b7d436Copy full SHA for 0b7d436
opal/js/shims.js
@@ -20,13 +20,19 @@ $(document).ready(function() {
20
$.ajax({
21
url: $script.attr('src'),
22
success: function( s ){
23
- src[idx] = s;
24
- waiting--;
25
- if( waiting === 0 ){ $(document).trigger('runruby'); }
+ //src[idx] = s;
+ //waiting--;
+ //if( waiting === 0 ){ $(document).trigger('runruby'); }
26
+ $('body').append('<pre>'+s+'</pre>');
27
+ Opal.eval( s );
28
}
29
});
30
} else {
- src[idx] = $script.text();
31
+ //src[idx] = $script.text();
32
+ var s;
33
+ s = $script.text();
34
35
36
37
38
0 commit comments