appcelerator/Documentation-Examples — Issue #2: Commonjs in version 1.8.0.1
Author: canastro
Created: 2011-12-16 11:21:01+00:00
State: open

Since october I've been working on a project with a structure similar to this one. Till now I was testing with iPad and everything been working fine.

This week I downloaded version 1.8.0.1 and tested my application on android. I've been strugling with some errors like:
- cant read global variables;
- cant register plugins;
- this weird error: 'addListeener only takes instances of Functions' (not sure yet if it has anything to do with 1.8.0.1).

Do you have any tips on what changes should be made?

I've changed my globals and added a joli var to a constants.js and i require it whenever I need it. But I don't know if this is the best approach from a performance point of view.