DocumentServer/OfficeWeb/vendor/requirejs/tests/plugins/delegated/delegated-tests.js
2015-04-28 17:59:00 +03:00

26 lines
488 B
JavaScript

require.config({
baseUrl: requirejs.isBrowser ? './' : './plugins/fromTextEvalError',
paths: {
'refine': '../fromText/refine',
'text': '../../../../text/text'
},
map: {
'*': {
r: 'refine'
}
}
});
require(['delegated!r!a'], function (a) {
doh.register(
'pluginsDelegated',
[
function pluginsDelegated(t){
t.is('a', a.name);
}
]
);
doh.run();
});