cubicweb/devtools/data/cwmock.js
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 12 Jan 2018 10:48:34 +0100
branch3.25
changeset 12246 b8567725c473
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[pkg] Version 3.25.4

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