devtools/data/cwmock.js
author Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
Mon, 19 Oct 2015 23:39:30 +0200
changeset 10948 3ffacbdf7e9c
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[skel] remove (what looks like) a spurious copy/paste

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