devtools/data/cwmock.js
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 01 Aug 2011 17:59:48 +0200
branchstable
changeset 7723 badfd5524ab6
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[repo] Stop setting hashmode on schema At best it was a no-op, at worst it created race conditions.

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