branch | stable |
changeset 5994 | 97c55baefa0c |
parent 5950 | f84dba9b8eca |
5976:00b1b6b906cf | 5994:97c55baefa0c |
---|---|
1 /* |
|
2 * cubicweb js mock for unit tests |
|
3 * This module defines variables and functions used in quite a few places |
|
4 * in cw js framework that can't be used or guessed without a real CW server |
|
5 */ |
|
6 |
|
7 var pageid = 'my-page-id'; |
|
8 |
|
9 function _(message) { |
|
10 return message; |
|
11 } |