Commit 074fc05
committed
Update index.js
Two things:
1) Reverting back to browserify's original bundle method. This method is only intended to take a singular callback argument.
2) stream.on('end', function () {}) creates a race condition. Using a callback in the bundle method instead to resolve this.1 parent 6b1a8dd commit 074fc05
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 116 | + | |
120 | 117 | | |
121 | 118 | | |
122 | 119 | | |
123 | 120 | | |
| 121 | + | |
124 | 122 | | |
125 | | - | |
126 | | - | |
| 123 | + | |
| 124 | + | |
127 | 125 | | |
128 | 126 | | |
129 | 127 | | |
| |||
0 commit comments