This repository was archived by the owner on Apr 30, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +3233
-2
lines changed Expand file tree Collapse file tree 10 files changed +3233
-2
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,10 @@ class Expose {
119119 opts . default [ option . name ] = option . default ;
120120 }
121121 // we parse our own types
122- if ( option . type !== 'number' ) {
122+ if ( option . type === 'flag' ) {
123+ opts . boolean . push ( option . name ) ;
124+ }
125+ else if ( option . type !== 'number' ) {
123126 opts . string . push ( option . name ) ;
124127 }
125128 } ) ;
@@ -217,7 +220,7 @@ class Expose {
217220 // command options (option that takes priority, like --version etc)
218221 for ( i = 0 , ii = options . length ; i < ii ; i ++ ) {
219222 opt = options [ i ] ;
220- if ( opt . command && ctx . hasOpt ( opt . name , true ) ) {
223+ if ( opt . command && ctx . hasOpt ( opt . name , true ) && ctx . getOpt ( opt . name ) ) {
221224 return this . executeCommand ( opt . command , ctx ) ;
222225 }
223226 }
Original file line number Diff line number Diff line change 1+ install jquery -c f7cfda
2+ install --save jquery -c f7cfda
Original file line number Diff line number Diff line change 1+
2+ - jquery / jquery : f7cfda : 2015-04-20 17:59
3+
4+ f7cfda | 2015-04-20 17:59 | Robert Dennis @ rdennis
5+ | Add optional jQueryAlias to $(callback) and $().ready(callback).
6+
7+ >> running install..
8+
9+ >> written 1 file:
10+
11+ - jquery/jquery.d.ts
12+
13+
14+ - jquery / jquery : f7cfda : 2015-04-20 17:59
15+
16+ f7cfda | 2015-04-20 17:59 | Robert Dennis @ rdennis
17+ | Add optional jQueryAlias to $(callback) and $().ready(callback).
18+
19+ >> running install..
20+
21+ >> written 1 file:
22+
23+ - jquery/jquery.d.ts
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " v4" ,
3+ "repo" : " borisyankov/DefinitelyTyped" ,
4+ "ref" : " master" ,
5+ "path" : " typings" ,
6+ "bundle" : " typings/tsd.d.ts" ,
7+ "installed" : {
8+ "jquery/jquery.d.ts" : {
9+ "commit" : " f7cfda9f1a6d4de9953f23db03fd5095ac216d41"
10+ }
11+ }
12+ }
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ /// <reference path="jquery/jquery.d.ts" />
Original file line number Diff line number Diff line change 1+ query d3 --info
2+ query --info d3
Original file line number Diff line number Diff line change 1+
2+ - d3 / d3
3+ >> d3JS : d3js.org
4+ @ Alex Ford : github.com/gustavderdrache
5+ @ Boris Yankov : github.com/borisyankov
6+ < d3 (external module)
7+
8+
9+ - d3 / d3
10+ >> d3JS : d3js.org
11+ @ Alex Ford : github.com/gustavderdrache
12+ @ Boris Yankov : github.com/borisyankov
13+ < d3 (external module)
Original file line number Diff line number Diff line change 1+ query jquery --history -c f7cfda
2+ query --history jquery -c f7cfda
Original file line number Diff line number Diff line change 1+
2+ - jquery / jquery : f7cfda : 2015-04-20 17:59
3+
4+ f7cfda | 2015-04-20 17:59 | Robert Dennis @ rdennis
5+ | Add optional jQueryAlias to $(callback) and $().ready(callback).
6+
7+
8+ - jquery / jquery : f7cfda : 2015-04-20 17:59
9+
10+ f7cfda | 2015-04-20 17:59 | Robert Dennis @ rdennis
11+ | Add optional jQueryAlias to $(callback) and $().ready(callback).
You can’t perform that action at this time.
0 commit comments