Sign in
apache
/
cordova-js
/
1517b704704016e408f29b1326a5b94dc39b2399
/
.
/
thirdparty
/
commonjs-tests
/
modules
/
1.0
/
absolute
/
program.js
blob: 7980ecf1436fd4df917494341e7629f2c416e16d [
file
] [
log
] [
blame
]
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'
);