devtools/data/cwmock.js
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Mon, 28 Mar 2011 15:15:49 +0200
branchstable
changeset 7116 dfd4680a23f0
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[session] add find_entities and find_one_entity to session/request API (closes #1550045)

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