fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: canvas - do not break an empty paragraph on ENTER
[fnpeditor.git]
/
tests
/
main.js
diff --git
a/tests/main.js
b/tests/main.js
index
a05c379
..
e2028fa
100644
(file)
--- a/
tests/main.js
+++ b/
tests/main.js
@@
-6,6
+6,12
@@
return (/\.test\.js$/).test(file);
});
return (/\.test\.js$/).test(file);
});
+ /* globals window */
+ // This installs noop i18n functions so that tests can work with i18nized code
+ window.gettext = window.interpolate = function() {
+ return Array.prototype.slice.call(arguments, 0);
+ };
+
require({
baseUrl: '/base/src/editor',
deps: tests,
require({
baseUrl: '/base/src/editor',
deps: tests,
@@
-14,7
+20,8
@@
paths: {
'fnpjs': '../fnpjs',
'libs': '../../libs',
paths: {
'fnpjs': '../fnpjs',
'libs': '../../libs',
- 'smartxml': '../smartxml'
+ 'smartxml': '../smartxml',
+ 'wlxml': '../wlxml'
},
map: {
},
map: {