Why htmlparse and soupselect works for ios and fails to android on titanium -


var htmlparser = require('/htmlparser'); var select = require('/soupselect').select; var handler = new htmlparser.defaulthandler(function(err, dom) { ... } 

on ios ok, when simulated on android, got message error

[error] : tiexceptionhandler: (main) [0,2113] - message: uncaught typeerror: undefined not function

it error lib or commonjs?

the code of htmlparser , soupselect got here : https://gist.github.com/bob-sims/4406293


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -