Commit 6d0d8cacc761a8d9eba244581ade6f2db977304b

Authored by ykxie
1 parent e7f0f0f8

fix 多文件编译

src/gxb-ide/Dir.js
... ... @@ -629,8 +629,6 @@
629 629 type: "get",
630 630 url: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + audioUrl,
631 631 success: function(res) {
632   - console.log('res============')
633   - console.log(res)
634 632 AudioPlayer(audioUrl)
635 633 var role = getQuery('role');
636 634 if (role == 0) {
... ...
src/gxb-ide/Iterm.js
... ... @@ -25,11 +25,14 @@
25 25 $(document).on('focus', '#runtimeArgus', function(){ })
26 26 },
27 27 compile: function(){
28   - if (_languageid == 35 && CodingEditer.isHanld == 0) {
29   - var _pauseValue = CodingEditer.getCodeMirrorValue();
30   - CodingEditer.webResult(_pauseValue[0], _pauseValue[1], _pauseValue[2])
31   - }else if(CodingEditer.isHanld == 1){
32   - return;
  28 + console.log('compile====')
  29 + if (_languageid == 35) {
  30 + if (CodingEditer.isHanld == 0) {
  31 + var _pauseValue = CodingEditer.getCodeMirrorValue();
  32 + CodingEditer.webResult(_pauseValue[0], _pauseValue[1], _pauseValue[2])
  33 + }else if(CodingEditer.isHanld == 1){
  34 + return;
  35 + }
33 36 }else{
34 37 var _this = this;
35 38 var el = document.querySelector('#CompileBtn');
... ...
src/index.html
... ... @@ -3,7 +3,7 @@
3 3 <head>
4 4 <meta charset="UTF-8">
5 5 <meta name="renderer" content="webkit">
6   - <title>互动编程</title>
  6 + <title>实境编程</title>
7 7 <link rel="stylesheet" href="css/reset.css">
8 8 <link rel="stylesheet" href="css/responsive/css/bootstrap.min.css">
9 9 <link href="css/validationEngine.jquery.css" rel="stylesheet">
... ...