mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 03:43:08 +08:00
18 lines
434 B
JavaScript
18 lines
434 B
JavaScript
require(['modA!modB!no-dotdot',
|
|
'modA!modB!../one-dotdot',
|
|
'modA!modB!../../two-dotdot-is-broken'], function (a, b, c) {
|
|
|
|
doh.register(
|
|
"pluginNormalize",
|
|
[
|
|
function pluginNormalize(t){
|
|
t.is('no-dotdot-foo', a);
|
|
t.is('../one-dotdot-foo', b);
|
|
t.is('../../two-dotdot-is-broken-foo', c);
|
|
}
|
|
]
|
|
);
|
|
|
|
doh.run();
|
|
});
|