Commit 6d0d8cacc761a8d9eba244581ade6f2db977304b
1 parent
e7f0f0f8
fix 多文件编译
Showing
3 changed files
with
9 additions
and
8 deletions
src/gxb-ide/Dir.js
| @@ -629,8 +629,6 @@ | @@ -629,8 +629,6 @@ | ||
| 629 | type: "get", | 629 | type: "get", |
| 630 | url: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + audioUrl, | 630 | url: "https://gxb-file.oss-cn-beijing.aliyuncs.com" + audioUrl, |
| 631 | success: function(res) { | 631 | success: function(res) { |
| 632 | - console.log('res============') | ||
| 633 | - console.log(res) | ||
| 634 | AudioPlayer(audioUrl) | 632 | AudioPlayer(audioUrl) |
| 635 | var role = getQuery('role'); | 633 | var role = getQuery('role'); |
| 636 | if (role == 0) { | 634 | if (role == 0) { |
src/gxb-ide/Iterm.js
| @@ -25,11 +25,14 @@ | @@ -25,11 +25,14 @@ | ||
| 25 | $(document).on('focus', '#runtimeArgus', function(){ }) | 25 | $(document).on('focus', '#runtimeArgus', function(){ }) |
| 26 | }, | 26 | }, |
| 27 | compile: function(){ | 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 | }else{ | 36 | }else{ |
| 34 | var _this = this; | 37 | var _this = this; |
| 35 | var el = document.querySelector('#CompileBtn'); | 38 | var el = document.querySelector('#CompileBtn'); |
src/index.html
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <head> | 3 | <head> |
| 4 | <meta charset="UTF-8"> | 4 | <meta charset="UTF-8"> |
| 5 | <meta name="renderer" content="webkit"> | 5 | <meta name="renderer" content="webkit"> |
| 6 | - <title>互动编程</title> | 6 | + <title>实境编程</title> |
| 7 | <link rel="stylesheet" href="css/reset.css"> | 7 | <link rel="stylesheet" href="css/reset.css"> |
| 8 | <link rel="stylesheet" href="css/responsive/css/bootstrap.min.css"> | 8 | <link rel="stylesheet" href="css/responsive/css/bootstrap.min.css"> |
| 9 | <link href="css/validationEngine.jquery.css" rel="stylesheet"> | 9 | <link href="css/validationEngine.jquery.css" rel="stylesheet"> |