devtools/data/cwmock.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 17 Aug 2010 11:06:20 +0200
branchstable
changeset 6112 913979c79244
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[db-fti-index] simple fix fpr progressbar-related crash when etypes is None in reindex_entities()

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