testing/xpcshell/node-spdy/lib/spdy/protocol/v3/index.js

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 var v3;
     3 try {
     4   v3 = require('./protocol.node');
     5 } catch (e) {
     6   v3 = require('./protocol.js');
     7 }
     8 module.exports = v3;
    10 v3.Framer = require('./framer').Framer;
    12 v3.dictionary = require('./dictionary').dictionary;

mercurial