()
| 165 | } |
| 166 | |
| 167 | header() { |
| 168 | let code = ""; |
| 169 | code += this.needContext() ? "var _context = {};\n" : "var _context;\n"; |
| 170 | code += "var _x = this._x;\n"; |
| 171 | if (this.options.interceptors.length > 0) { |
| 172 | code += "var _taps = this.taps;\n"; |
| 173 | code += "var _interceptors = this.interceptors;\n"; |
| 174 | } |
| 175 | return code; |
| 176 | } |
| 177 | |
| 178 | needContext() { |
| 179 | const { taps } = this.options; |