devtools/data/cwmock.js
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 09 Dec 2011 12:14:11 +0100
changeset 8125 7070250bf50d
parent 5950 f84dba9b8eca
permissions -rw-r--r--
[schema] React to yams improvement of metadata attribute handling. * Change the way RichString is deprecated. * Add documentation about metadata attribute

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