devtools/data/cwmock.js
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 30 Mar 2015 11:47:43 +0200
changeset 10296 df34de44f40f
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[notification] don't block while sending mails Regression from #7c17659c9eae, closes #5190001.

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