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() {
24
24
var work;
25
25
if(/\.js$/.test(file)) {
26
26
console.log("reading " + file + ".......");
27
- work = Q.when(qfs.read(file), function(content) {
27
+ work = Q.when(qfs.read(file, 'b' ), function(content) {
28
28
processJsFile(content, file).forEach (function(doc) {
29
29
allDocs.push(doc);
30
30
});
@@ -45,7 +45,7 @@ function collect() {
45
45
var work2;
46
46
if (file.match(/\.ngdoc$/)) {
47
47
console.log("reading " + file + ".......");
48
- work2 = Q.when(qfs.read(file), function(content){
48
+ work2 = Q.when(qfs.read(file, 'b' ), function(content){
49
49
var section = '@section ' + file.split('/')[2] + '\n';
50
50
allDocs.push(new ngdoc.Doc(section + content.toString(),file, 1).parse());
51
51
});
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function merge(srcs, to) {
83
83
srcs.forEach(function (src) {
84
84
done = Q.when(done, function(content) {
85
85
if(content) contents.push(content);
86
- return qfs.read(src);
86
+ return qfs.read(src, 'b' );
87
87
});
88
88
});
89
89
You can’t perform that action at this time.
0 commit comments