diff -r 00b1b6b906cf -r 97c55baefa0c devtools/data/cwmock.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/devtools/data/cwmock.js Mon Jul 19 15:37:02 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; +}