(version, cb)
| 2129 | } |
| 2130 | |
| 2131 | var JSONProtocol = function(version, cb) { |
| 2132 | var protocol = cb; |
| 2133 | protocol.encode = function(message) { |
| 2134 | return JSON.stringify(message); |
| 2135 | } |
| 2136 | protocol.version = version; |
| 2137 | protocol.versionLong = 'Version ' + version; |
| 2138 | protocol.type = 'protocol'; |
| 2139 | return protocol; |
| 2140 | }; |
| 2141 | |
| 2142 | },{"./frame":5}],13:[function(require,module,exports){ |
| 2143 | exports.UI = { |