Commit d3787cb350488d9e54a49a86446ce8e0d82735a5

Authored by 范延丽
1 parent 427005d5

地址

Showing 1 changed file with 8 additions and 6 deletions
src/js/c.js
@@ -8,9 +8,11 @@ $(function(){ @@ -8,9 +8,11 @@ $(function(){
8 var flag = true; 8 var flag = true;
9 9
10 if(_languageid == 35){ 10 if(_languageid == 35){
11 - $('.switch').show();  
12 - $('#quickTool').show(); 11 + $('.switch').show();
13 $("#CompileBtn .ladda-label").html("自动运行") 12 $("#CompileBtn .ladda-label").html("自动运行")
  13 +
  14 + $('#quickTool').show();
  15 +
14 }else{ 16 }else{
15 $("#CompileBtn .ladda-label").html("编译运行") 17 $("#CompileBtn .ladda-label").html("编译运行")
16 } 18 }
@@ -85,13 +87,13 @@ $(function(){ @@ -85,13 +87,13 @@ $(function(){
85 var selectVal = $target.text(); 87 var selectVal = $target.text();
86 88
87 if (selectVal == '图片') { 89 if (selectVal == '图片') {
88 - Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<img src="//www.igeekbar.com/igeekbar/laitu/300x200&text=hello world/222222/ffffff" alt="占位图片">', "end") 90 + Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<img src="http://www.igeekbar.com/igeekbar/laitu/300x200&text=hello world/222222/ffffff" alt="占位图片">', "end")
89 }else if (selectVal == 'bootstrap.css') { 91 }else if (selectVal == 'bootstrap.css') {
90 - Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<link href="//cdn.gbtags.com/bootswatch/3.2.0+1/custom/bootstrap.min.css" rel="stylesheet">', "end") 92 + Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">', "end")
91 }else if(selectVal == 'bootstrap.js'){ 93 }else if(selectVal == 'bootstrap.js'){
92 - Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<script src="//cdn.gbtags.com/twitter-bootstrap/3.2.0/js/bootstrap.min.js"></script>', "end") 94 + Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>', "end")
93 }else if (selectVal == 'jQuery') { 95 }else if (selectVal == 'jQuery') {
94 - Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<script src="//cdn.gbtags.com/jquery/2.1.1/jquery.min.js"></script>', "end") 96 + Dir.treeLinkEditor[0].CodeMirrorRecord.replaceSelection('<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>', "end")
95 } 97 }
96 98
97 }) 99 })