com.miga.waterfall icon indicating copy to clipboard operation
com.miga.waterfall copied to clipboard

Demo calls getFreeWidth and not the exported freeX

Open torlanco opened this issue 8 years ago • 1 comments

[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'

torlanco avatar Jul 15 '15 17:07 torlanco

I think your setup is wrong. Have a look at the demo app: download demo

m1ga avatar Jul 15 '15 17:07 m1ga