devtools/data/cwmock.js
author Katia Saurfelt <katia.saurfelt@logilab.fr>
Thu, 09 Feb 2012 09:52:02 +0100
branchstable
changeset 8209 67660d5f1916
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[migration] `add_relation_type` warns and add missing definitions on already existing rtypes (closes #2121979)

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