cubicweb/devtools/data/cwmock.js
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 18 Mar 2020 13:18:04 +0100
branch3.27
changeset 12919 85284f028266
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[pkg] version 3.27.3

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