changeset 5950 | f84dba9b8eca |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/devtools/data/cwmock.js Thu Jul 08 19:18:56 2010 +0200 @@ -0,0 +1,11 @@ +/* + * 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; +}