(opts)
| 172 | } |
| 173 | |
| 174 | function checkRequired (opts) { |
| 175 | var props = ['out', 'in'] |
| 176 | if (!opts || !props.every(function (prop) { return opts.hasOwnProperty(prop) })) { |
| 177 | throw new Error('Must pass in options object with `in` and `out` properties') |
| 178 | } |
| 179 | } |