web-apps/vendor/requirejs/tests/plugins/delegated/delegated-tests.js

26 lines
488 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
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();
});