]>
git.kianting.info Git - clo/blob - src/libclo/index.js
2 Object
.defineProperty(exports
, "__esModule", { value
: true });
3 exports
.a
= exports
.Clo
= void 0;
5 for (let i
= 0; i
< arr
.length
; i
++) {
7 if (Array
.isArray(arr
)) {
14 this.preprocessors
= [];
16 this.attributes
= { "page": [793.7, 1122.5] };
17 this.preprocessorRegister(foo
);
20 * register a function of preprocessor
23 preprocessorRegister(f
) {
24 this.preprocessors
.push(f
);
28 var prepro
= this.mainStream
;
29 for (var i
= 0; i
< this.preprocessors
.length
; i
++) {
30 prepro
= this.preprocessors
[i
](prepro
);
33 console
.log("test" + prepro
);
37 exports
.a
= new Clo();
38 exports
.default = exports
.a
;