Open enigma1 opened 10 years ago
Hello @enigma1,
thanks for using the library. Here are my comments:
add
method in the parent file. Maybe we may change if the module returns an object and if yes then directly pass it to the add
function. From my point of view it is better to leave the APi as it is now.
I started using absurdjs with the importer but I noticed a couple of things.
So if the file has a non-handled extension I cannot use the import. Perhaps this can be changed having an extra parameter passed to the importer that can override the extension detection. Then if it is not present it will work as it does now.
instead of how it is currently
should be simple to support both I think. Right now I use the node require to load the js file with the add api.