Commit 6bd947b433c42928dfe6ec352a7f68b7789ec4e7
1 parent
ea61c3a8
test
Showing
2 changed files
with
11 additions
and
4 deletions
src/gxb-ide/Dir.js
| @@ -145,9 +145,10 @@ | @@ -145,9 +145,10 @@ | ||
| 145 | console.log('////---------------------------') | 145 | console.log('////---------------------------') |
| 146 | console.log(treeLinkEditor); | 146 | console.log(treeLinkEditor); |
| 147 | for (var i = 0; i < treeLinkEditor.length; i++) { | 147 | for (var i = 0; i < treeLinkEditor.length; i++) { |
| 148 | + $('.fileName').html(treeLinkEditor[i].filePath) | ||
| 148 | if(treeLinkEditor[i].name == _this.manageName(obj.treeNode.name)){ | 149 | if(treeLinkEditor[i].name == _this.manageName(obj.treeNode.name)){ |
| 149 | console.log(_this.manageName(obj.treeNode.name)); | 150 | console.log(_this.manageName(obj.treeNode.name)); |
| 150 | - $('.fileName').html(treeLinkEditor[i].filePath) | 151 | + |
| 151 | _num = i; | 152 | _num = i; |
| 152 | } | 153 | } |
| 153 | } | 154 | } |
src/js/player.js
| @@ -27,6 +27,8 @@ $(function(){ | @@ -27,6 +27,8 @@ $(function(){ | ||
| 27 | 27 | ||
| 28 | $('.m-title').html(title); | 28 | $('.m-title').html(title); |
| 29 | 29 | ||
| 30 | + alert(title) | ||
| 31 | + | ||
| 30 | $('#resultoutput').append(title) | 32 | $('#resultoutput').append(title) |
| 31 | 33 | ||
| 32 | console.log(_role) | 34 | console.log(_role) |
| @@ -40,8 +42,11 @@ $(function(){ | @@ -40,8 +42,11 @@ $(function(){ | ||
| 40 | CodingEditer.editable(0) | 42 | CodingEditer.editable(0) |
| 41 | }) | 43 | }) |
| 42 | 44 | ||
| 45 | + $('#play').unbind('click').click(function(){ | ||
| 46 | + | ||
| 47 | + }) | ||
| 43 | 48 | ||
| 44 | - $('.m-menu').on('click', function(e){ | 49 | + $('.m-menu').unbind('click').click(function(e){ |
| 45 | // e.preventDefault(); | 50 | // e.preventDefault(); |
| 46 | console.log('////==========') | 51 | console.log('////==========') |
| 47 | if (status) { | 52 | if (status) { |
| @@ -52,8 +57,9 @@ $(function(){ | @@ -52,8 +57,9 @@ $(function(){ | ||
| 52 | status = true; | 57 | status = true; |
| 53 | } | 58 | } |
| 54 | }) | 59 | }) |
| 55 | - $('.m-dir-wrap').on('click', function(e){ | ||
| 56 | - console.log('////') | 60 | + |
| 61 | + $('.m-dir-wrap').unbind('click').click(function(e){ | ||
| 62 | + // e.preventDefault(); | ||
| 57 | if (!status) { | 63 | if (!status) { |
| 58 | $('.m-dir-wrap').hide(); | 64 | $('.m-dir-wrap').hide(); |
| 59 | status = true; | 65 | status = true; |