cubicweb/devtools/data/cwmock.js
author Laurent Peuch <cortex@worlddomination.be>
Thu, 05 Dec 2019 18:39:09 +0100
changeset 12807 fb0936668535
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[comment] add comment for maybe unhandled situation

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