cubicweb/devtools/data/cwmock.js
author Arthur Lutz <arthur.lutz@logilab.fr>
Fri, 31 Jan 2020 16:52:24 +0100
branch3.27
changeset 12861 1983923e51cc
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[doc/book/admin/setup] forget about easy_install

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