thanks Matthew for all the information, i'll give a shot... see ya
sent from Android
Em 06/02/2011 16:20, "Matthew Francis-Landau" <matthewm...@gmail.com>escreveu:
Yes you should be able to reference files from your local file system using ./file-name.js, Note that this will not search for files, so you will have to use an exact name.Something that will not work on jsapp with the require is using a variable name, and not a string in require, for example:var a = "./some-file-name1.js";var b = require(a); // this will not workvar c = require("./some-file-name2.js"); // this will workThere is a sorta hackish way to get around this, but I am not recommending it.
On Feb 6, 2011, at 6:12 AM, Daniel Mascena wrote:
> Thanks Matthew for this informations.. could ...