devtools/data/cwmock.js
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 27 Apr 2012 14:10:04 +0200
branchstable
changeset 8377 a9a7ae11dfb0
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[cwconfig] impose an order on appobject paths processing: entities first (closes #2330799)

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