web-apps/vendor/requirejs/tests/trailingComma/trailingComma.js

14 lines
260 B
JavaScript
Raw Normal View History

2016-03-11 00:48:53 +00:00
//Trailing comma is there ON PURPOSE
require(['a',], function(a) {
doh.register(
"trailingComma",
[
function trailingComma(t){
t.is('a', a.name, 'a.name is a');
}
]
);
doh.run();
});