devtools/data/cwmock.js
author Rémi Cardona <remi.cardona@logilab.fr>
Thu, 20 Mar 2014 15:44:59 +0100
branchstable
changeset 9595 240a620b9cd3
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[web] Disable 'concat-resources' by default (closes #3670503) It makes debugging harder and it can actually *break* working JS or CSS files. This is the first step towards complete removal.

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