|
84 | 84 | <label><input type="checkbox" name="global:paths-absolute" value="/test/pathstest?123" disabled/>global:paths-absolute</label>
|
85 | 85 | <label><input type="checkbox" name="global:paths-http" value="http://dd.com/tangram.js?123" disabled/>global:paths-http</label>
|
86 | 86 | <label><input type="checkbox" name="global:pkg-main" value="./pkgsetmain/2.0/index?123" disabled/>global:pkg-main</label>
|
| 87 | + <label><input type="checkbox" name="global:pkg-main.js" value="./pkgsetmain/2.0/index.js?123" disabled/>global:pkg-main</label> |
87 | 88 | <label><input type="checkbox" name="global:pkg-module" value="./pkgsetmain/2.0/mod?123" disabled/>global:pkg-module</label>
|
| 89 | + <label><input type="checkbox" name="global:pkg-module.js" value="./pkgsetmain/2.0/mod.js?123" disabled/>global:pkg-module</label> |
88 | 90 |
|
89 | 91 | <label><input type="checkbox" name="local:normal" value="./normal?123" disabled/>local:normal</label>
|
90 | 92 | <label><input type="checkbox" name="local:normal.js" value="./normal.js?123" disabled/>local:normal.js</label>
|
|
93 | 95 | <label><input type="checkbox" name="local:paths-absolute" value="/test/pathstest?123" disabled/>local:paths-absolute</label>
|
94 | 96 | <label><input type="checkbox" name="local:paths-http" value="http://dd.com/tangram.js?123" disabled/>local:paths-http</label>
|
95 | 97 | <label><input type="checkbox" name="local:pkg-main" value="./pkgsetmain/2.0/index?123" disabled/>local:pkg-main</label>
|
| 98 | + <label><input type="checkbox" name="local:pkg-main.js" value="./pkgsetmain/2.0/index.js?123" disabled/>local:pkg-main</label> |
96 | 99 | <label><input type="checkbox" name="local:pkg-module" value="./pkgsetmain/2.0/mod?123" disabled/>local:pkg-module</label>
|
| 100 | + <label><input type="checkbox" name="local:pkg-module.js" value="./pkgsetmain/2.0/mod.js?123" disabled/>local:pkg-module</label> |
97 | 101 | <label><input type="checkbox" name="local:relative-id" value="./tourl/relative?123" disabled/>local:relative-id</label>
|
98 | 102 | <label><input type="checkbox" name="local:map" value="./cjs/simple?123" disabled/>local:map</label>
|
99 | 103 |
|
|
110 | 114 | assert_toUrl( 'global:paths-absolute', require.toUrl( 'abspath' ) );
|
111 | 115 | assert_toUrl( 'global:paths-http', require.toUrl( 'tangram' ) );
|
112 | 116 | assert_toUrl( 'global:pkg-main', require.toUrl( 'pkgsetmain' ) );
|
| 117 | +assert_toUrl( 'global:pkg-main.js', require.toUrl( 'pkgsetmain.js' ) ); |
113 | 118 | assert_toUrl( 'global:pkg-module', require.toUrl( 'pkgsetmain/mod' ) );
|
| 119 | +assert_toUrl( 'global:pkg-module.js', require.toUrl( 'pkgsetmain/mod.js' ) ); |
114 | 120 |
|
115 | 121 |
|
116 | 122 | require( ['tourl/index'] );
|
|
0 commit comments