Closed flea89 closed 10 years ago
Just realized the problem, in main.js the code was actually
define(['module'],function(module){
module.
});
and the plugin was probably getting confuse by module object for requirejs commonjs module format.
Yes, "exports"
, "module"
and "require"
are hard-coded to return the built-in CommonJS compatibility values.
Does that solve your problem?
Thanks @marijnh, yes it solved the problem, I'm now trying to set it up for a bigger projects but it's not working. Probably I'm doing something wrong though. I'll try harder :)
Great. Open another issue when you have a specific problem.
I'm trying to setup a simple project to test the plugin features, but I'm facing problems to see it working.
I have a simple workspace structure:
My tern configuration is: .tern-project
myModule.js
main.js
I'm not getting hints from tern, I'm not sure if I'm doing something wrong or this could be a bug.
Thanks