1 | var obuilder = require('../');
|
2 |
|
3 | obuilder()
|
4 | .declare('a', function(input, fill) {
|
5 | fill(input + 'A');
|
6 | })
|
7 | .append('b.1', function(input, fill) {
|
8 | fill(input + 'B1');
|
9 | })
|
10 | .append('b.2', function(input, fill) {
|
11 | fill(input + 'B1');
|
12 | })
|
13 | .append('b.3', function(input, fill) {
|
14 | fill(input + 'B3');
|
15 | })
|
16 | .complete('c', function(input, fill) {
|
17 | fill(input + 'C');
|
18 | })
|
19 | .attach(module);
|