cubicweb/devtools/data/cwmock.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 10 Oct 2016 14:34:41 +0200
changeset 11727 2efe0bf90ebb
parent 11057 0b59724cb3f2
permissions -rw-r--r--
i18ncube should ignore node_modules directory by default related to #15613724

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