Commit 45ef1bcb0c54b0c5b27d7b08f6542cdb2b141b5e
1 parent
8cd2f9ab
更换类库路径
Showing
1 changed file
with
5 additions
and
4 deletions
dist/js/c.js
| ... | ... | @@ -79,7 +79,7 @@ $(function(){ |
| 79 | 79 | $('#studentCompileBtn').show(); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - $('.dropdown-menu').on('click', function(e) { | |
| 82 | + $('.dropdown-menu').on('click', function(e) { | |
| 83 | 83 | var $target = $(e.target); |
| 84 | 84 | $target.is('li') && $('#text').text($target.text()); |
| 85 | 85 | |
| ... | ... | @@ -88,17 +88,18 @@ $(function(){ |
| 88 | 88 | if (selectVal == '图片') { |
| 89 | 89 | Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<img src="http://www.igeekbar.com/igeekbar/laitu/300x200&text=hello world/222222/ffffff" alt="占位图片">', "end") |
| 90 | 90 | }else if (selectVal == 'bootstrap.css') { |
| 91 | - Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<link href="http://cdn.gbtags.com/bootswatch/3.2.0+1/custom/bootstrap.min.css" rel="stylesheet">', "end") | |
| 91 | + Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<link href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet">', "end") | |
| 92 | 92 | }else if(selectVal == 'bootstrap.js'){ |
| 93 | - Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<script src="http://cdn.gbtags.com/twitter-bootstrap/3.2.0/js/bootstrap.min.js"></script>', "end") | |
| 93 | + Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<script src="https://cdn.bootcss.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"></script>', "end") | |
| 94 | 94 | }else if (selectVal == 'jQuery') { |
| 95 | - Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<script src="http://cdn.gbtags.com/jquery/2.1.1/jquery.min.js"></script>', "end") | |
| 95 | + Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>', "end") | |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | }) |
| 99 | 99 | |
| 100 | 100 | |
| 101 | 101 | |
| 102 | + | |
| 102 | 103 | // 插入标准输入 |
| 103 | 104 | $(document).on('focus', '#runtimeArgus', function(){ |
| 104 | 105 | console.log('focus'); | ... | ... |