devtools/data/cwmock.js
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 01 Jul 2014 17:25:25 +0200
changeset 9830 465d8151b92d
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[dbapi] allow talking to a pre-3.19 remote repository Closes #4071285

/*
 * 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;
}