MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / JSONProtocol

Function JSONProtocol

Three.js/js/leap.js:2131–2140  ·  view source on GitHub ↗
(version, cb)

Source from the content-addressed store, hash-verified

2129}
2130
2131var 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){
2143exports.UI = {

Callers 1

leap.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected