devtools/data/cwmock.js
author Damien Garaud <damien.garaud@logilab.fr>
Tue, 06 May 2014 18:32:03 +0200
changeset 9827 c7ce035aede8
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[dataimport] Drop reference to the 'source' column (closes #4067694). CW 3.19 drops the multi-source support. This column does not exist in 3.19.

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