devtools/data/cwmock.js
author Laura Médioni <laura.medioni@logilab.fr>
Mon, 28 Apr 2014 14:11:23 +0200
changeset 9966 6c2d57d1b6de
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[CWEP002] Add schema finalization checks for computed attributes ``finalize_computed_attributes`` essentially checks that computed attributes types match with the type declaration of the attribute. Related to #3546717.

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