devtools/data/cwmock.js
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 29 May 2013 11:41:39 +0200
branchstable
changeset 8993 82ffa4b68c9e
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[server] fix documentation of ZMQ options harder The syntax for zmq addresses is tcp://host:port, no zmqpickle involved.

/*
 * cubicweb js mock for unit tests
 * This module defines variables and functions used in quite a few places
 * in cw js framework that can't be used or guessed without a real CW server
 */

var pageid = 'my-page-id';

function _(message) {
    return message;
}