Sunday, October 7, 2012

Cannot read property 'pseudos' of undefined error

While working with touch charts and sencha touch together, you may get the following error:

Cannot read property 'pseudos' of undefined

 After searching a lot on the sencha forums I couldn't find an answer to it.
After which we noticed that if we try and use the sencha-touch/sencha-touch-debug.js files provided with the touch charts zip/library itself this error vanishes.

Conclusion: If you are using touch charts, use the sencha-touch files provided in the touch-charts zip itself