devtools/data/cwmock.js
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Sat, 18 Jun 2011 23:27:23 +0200
branchstable
changeset 7537 1af162bd78b8
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[migration] bugfix: c-c list was not displaying the name of a cube requiring another cube without constraining the version.

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