mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 00:16:52 +00:00
Make require() compliant with CommonJS Modules/1.1
This commit is contained in:
14
editions/testcommonjs/tiddlers/nested/a/b/c/d.js
Normal file
14
editions/testcommonjs/tiddlers/nested/a/b/c/d.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/*\
|
||||
title: a/b/c/d.js
|
||||
type: application/javascript
|
||||
module-type: library
|
||||
|
||||
Nested test
|
||||
|
||||
\*/
|
||||
|
||||
exports.foo = function () {
|
||||
return 1;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user