File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function collect() {
2424 var work ;
2525 if ( / \. j s $ / . test ( file ) ) {
2626 console . log ( "reading " + file + "......." ) ;
27- work = Q . when ( qfs . read ( file ) , function ( content ) {
27+ work = Q . when ( qfs . read ( file , 'b' ) , function ( content ) {
2828 processJsFile ( content , file ) . forEach ( function ( doc ) {
2929 allDocs . push ( doc ) ;
3030 } ) ;
@@ -45,7 +45,7 @@ function collect() {
4545 var work2 ;
4646 if ( file . match ( / \. n g d o c $ / ) ) {
4747 console . log ( "reading " + file + "......." ) ;
48- work2 = Q . when ( qfs . read ( file ) , function ( content ) {
48+ work2 = Q . when ( qfs . read ( file , 'b' ) , function ( content ) {
4949 var section = '@section ' + file . split ( '/' ) [ 2 ] + '\n' ;
5050 allDocs . push ( new ngdoc . Doc ( section + content . toString ( ) , file , 1 ) . parse ( ) ) ;
5151 } ) ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function merge(srcs, to) {
8383 srcs . forEach ( function ( src ) {
8484 done = Q . when ( done , function ( content ) {
8585 if ( content ) contents . push ( content ) ;
86- return qfs . read ( src ) ;
86+ return qfs . read ( src , 'b' ) ;
8787 } ) ;
8888 } ) ;
8989
You can’t perform that action at this time.
0 commit comments