devtools/data/cwmock.js
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 06 Jul 2015 14:34:41 +0200
changeset 10549 5fc21bf2684f
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[hooks] base64-encode extid before inserting it into moved_entities If we insert the wrong value we're never going to find these entities again... Closes #5741105.

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