cubicweb/devtools/data/cwmock.js
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Tue, 17 Oct 2017 11:58:35 +0200
branch3.25
changeset 12214 d238badfc268
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[pkg] version 3.25.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;
}