☰
Debian Codegraph
@
20130227+rhino-3
/
/
rhino
/
testsrc
/
org
/
mozilla
/
javascript
/
tests
/
commonjs
/
module
/
1.0
/
absolute
/
program.js
☽
☼
rhino/testsrc/org/mozilla/javascript/tests/commonjs/module/1.0/absolute/program.js
code
plain
raw
symbols
SCIP
MPL-2.0
1999-2015, Mozilla
debian/copyright
1
var
test =
require
(
'test'
);
2
var
a =
require
(
'submodule/a'
);
3
var
b =
require
(
'b'
);
4
test.
assert
(a.
foo
().
foo
=== b.
foo
,
'require works with absolute identifiers'
);
5
test.
print
(
'DONE'
,
'info'
);