mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 11:37:20 +00:00
17 lines
305 B
JavaScript
17 lines
305 B
JavaScript
/*\
|
|
title: absolute/program.js
|
|
type: application/javascript
|
|
module-type: library
|
|
|
|
Absolute require test
|
|
|
|
\*/
|
|
|
|
|
|
var test = require('test');
|
|
var a = require('./submodule/a');
|
|
var b = require('./b');
|
|
test.assert(a.foo().foo === b.foo, 'require works with absolute identifiers');
|
|
test.print('DONE', 'info');
|
|
|