File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed
Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html >
3-
43< head >
54 < title > 自定义打包</ title >
6- < link rel ="stylesheet " href ="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css ">
7- < script type ="text/javascript " src ="http://cdn.bootcss.com/jquery/3.1.1/jquery.min.js "> </ script >
8-
9- < script type ="text/javascript " src ="http://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js "> </ script >
5+ < meta charset ="UTF-8 ">
6+ < link rel ="stylesheet " href ="../examples/css/bootstrap.min.css ">
107 < style type ="text/css ">
118 body {
129 font : 12 px/1.4 Verdana, sans-serif;
112109 }
113110
114111 # command2 {
115- width : 100 % ;
116- margin : -10px 30px ;
112+ width : 90 % ;
113+ margin : -10px 30px 30 px ;
117114 }
118115
119116 # toolbar {
@@ -197,7 +194,8 @@ <h1>自定义打包</h1>
197194 < input type ="text " class ="form-control " id ="command2 "/>
198195 </ section >
199196</ div >
200-
197+ < script type ="text/javascript " src ="../examples/js/jquery.js "> </ script >
198+ < script type ="text/javascript " src ="../examples/js/bootstrap.js "> </ script >
201199< script type ="text/javascript " src ="deps.js "> </ script >
202200< script type ="text/javascript " src ="build.js "> </ script >
203201</ body >
Original file line number Diff line number Diff line change @@ -14,10 +14,16 @@ function init() {
1414 for ( var i = 0 ; i < lists . length ; i ++ ) {
1515 var checks = lists [ i ] . getElementsByTagName ( 'input' ) ;
1616 for ( var j = 0 ; j < checks . length ; j ++ ) {
17+ if ( checks [ j ] . id === 'Core' ) {
18+ continue ;
19+ }
1720 checks [ j ] . checked = selectAll ;
1821 }
1922 var lis = lists [ i ] . getElementsByTagName ( 'li' ) ;
2023 for ( var n = 0 ; n < checks . length ; n ++ ) {
24+ if ( checks [ n ] . id === 'Core' ) {
25+ continue ;
26+ }
2127 lis [ n ] . className = ( selectAll ) ? 'active' : '' ;
2228 }
2329 }
You can’t perform that action at this time.
0 commit comments