com.miga.waterfall
com.miga.waterfall copied to clipboard
Demo calls getFreeWidth and not the exported freeX
[ERROR] : TiExceptionHandler: (main) [449,449] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,449] - In alloy/controllers/tab1Win.js:192,29
[ERROR] : TiExceptionHandler: (main) [1,450] - Message: Uncaught TypeError: Object #<Controller> has no method 'getFreeWidth'
[ERROR] : TiExceptionHandler: (main) [0,450] - Source: var freeX = $.waterfall.getFreeWidth();
[ERROR] : V8Exception: Exception occurred at alloy/controllers/tab1Win.js:192: Uncaught TypeError: Object #<Controller> has no method 'getFreeWidth'
I think your setup is wrong. Have a look at the demo app: download demo