web-apps/vendor/requirejs/tests/plugins/delegated/delegated-tests.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -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();
});