devtools/data/cwmock.js
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 29 Jan 2014 15:29:49 +0100
changeset 9508 1263f1258796
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[server] rename session to cnx in querier and plan They don't actually need a session, so let's make that clear.

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