2

With Titanium Mobile you can do include modules with:

ASW = Ti.include('./modules/amazon').load();

This fails with TideSDK. I've looked and looked and found nothing! Most likely I'm missing something obvious. Help!?

sundar nataraj
  • 8,524
  • 2
  • 34
  • 46
CorbinUX
  • 576
  • 7
  • 14
  • is this an iphone buit module or js module – sundar nataraj Mar 14 '13 at 07:03
  • In this case, I'm trying to take an Amazon AWS module that was built for Titanium Mobile, and get it running on TideSDK. But I also would like to be able to require my own modules for a more organized app – CorbinUX Mar 14 '13 at 14:06

1 Answers1

0

As far as my knowledge, modules are accessed using require function. And for Ti.include I am not sure. So try with require function as below:

var ASW = require('./modules/amazon');

That's it. Hope it will help

nadeem gc
  • 484
  • 1
  • 8
  • 22