Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add goals/limitations to README. improve test to make sure indentatio…

…n & module format can be different.
  • Loading branch information...
commit 2c63d212c885843d7c83254157ab92a613606cc4 1 parent 77ee92c
@millermedeiros authored
View
19 README.md
@@ -99,6 +99,25 @@ The name was inpired by
[browserify](https://github.com/substack/node-browserify).
+
+## Features, Goals & Limitations
+
+The [Asynchronous Module
+Definition](https://github.com/amdjs/amdjs-api/wiki/AMD) is very flexible, it
+supports [plugins](https://github.com/amdjs/amdjs-api/wiki/Loader-Plugins),
+many [configuration
+settings](https://github.com/amdjs/amdjs-api/wiki/Common-Config) to define how
+modules should be loaded and asynchronous module loading.
+
+**This tool aims to convert basic modules**, plugins and advanced settings
+probably are NOT going to be supported in the near future (I have plans to
+support basic configs, see [issue 6](https://github.com/millermedeiros/nodefy/issues/6)).
+Check the [uRequire](https://github.com/anodynos/uRequire) project in case you need
+something more complex or create a new feature request on the [issues
+tracker](https://github.com/millermedeiros/nodefy/issues).
+
+
+
## Alternatives
- [amdefine](https://github.com/jrburke/amdefine)
View
24 test/files/nested/magic_remaped-in.js
@@ -1,9 +1,15 @@
-// test if magic `exports` dependency can be renamed
-// also check if nested folder is grabbed properly
-define(['exports', 'require', 'module', 'foo'], function (exp, req, mod) {
-
- exp.bar = req('foo').ipsum;
- exp.id = mod.id;
-
-});
-
+// test if magic `exports` dependency can be renamed.
+// also check if nested folder is grabbed properly.
+// check if indentation and module format can be different.
+define(
+ [
+ 'exports',
+ 'require',
+ 'module',
+ 'foo'
+ ],
+ function (exp, req, mod) {
+ exp.bar = req('foo').ipsum;
+ exp.id = mod.id;
+ }
+);
View
14 test/files/nested/magic_remaped-out.js
@@ -1,11 +1,9 @@
-// test if magic `exports` dependency can be renamed
-// also check if nested folder is grabbed properly
+// test if magic `exports` dependency can be renamed.
+// also check if nested folder is grabbed properly.
+// check if indentation and module format can be different.
var exp = exports;
var req = require;
var mod = module;
-
- exp.bar = req('foo').ipsum;
- exp.id = mod.id;
-
-
-
+ exp.bar = req('foo').ipsum;
+ exp.id = mod.id;
+
Please sign in to comment.
Something went wrong with that request. Please try again.