My favorites
|
Sign in
interoperablejs
Interoperable JavaScript Module Specification
Project Home
Downloads
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
r3
r14›
Source path:
svn
/
trunk
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
trivial/
for browser implementations,
using this directory as your path,
load the "program" module. It should
alert you with the results of
an increment function.
compliance/*
for a module loader to be compliant,
it must run and pass every test in
this directory.
All of these tests presume the existence of
a "console" module that provides a "print"
method for test reporting. Tests call
the "print" method with a "message"
and a "label" argument that is one of
"pass" or "fail". "window.console.log"
in most browsers suffices.
All of these tests write a "DONE" info
message to confirm that they ran completely.
security/*
each directory here contains
a test that verifies that a module
can get capabilities from its environment
without accessing free variables.
experiments/*
each of these tests corresponds to
an experimental feature, like
"include" or implicit locally bound "exports".
global/*
each directory here contains
a program.html and a program.js.
The program.html loads the transitive
dependencies of program.js explicitly
using script tags. These tests
demonstrate compliant modules working
in both <script> tags and module
loaders.
Show details
Hide details
Change log
r3
by cowbertvonmoo on Feb 05, 2009
Diff
Added a fresh batch of feature tests.
Go to:
/trunk/README
/trunk/compliance
/trunk/compliance/cyclic
/trunk/compliance/cyclic/a.js
/trunk/compliance/cyclic/b.js
...k/compliance/cyclic/program.html
/trunk/compliance/cyclic/program.js
/trunk/compliance/cyclic/test.js
/trunk/compliance/missing
.../compliance/missing/program.html
...nk/compliance/missing/program.js
/trunk/compliance/missing/test.js
/trunk/compliance/nested
/trunk/compliance/nested/a
/trunk/compliance/nested/a/b
/trunk/compliance/nested/a/b/c
/trunk/compliance/nested/a/b/c/d.js
...k/compliance/nested/program.html
/trunk/compliance/nested/program.js
/trunk/compliance/nested/test.js
/trunk/compliance/relative
...compliance/relative/program.html
...k/compliance/relative/program.js
...nk/compliance/relative/submodule
...mpliance/relative/submodule/a.js
...mpliance/relative/submodule/b.js
/trunk/compliance/relative/test.js
/trunk/compliance/transitive
/trunk/global
/trunk/security
/trunk/security/env
/trunk/security/env/program.html
/trunk/security/env/program.js
/trunk/security/env/test.js
/trunk/trivial/program.html
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 1290 bytes, 45 lines
View raw file
Hosted by