Closed josefadamcik closed 13 years ago
I've got a question and a comment on the pull request.
I'v added another commit with moved declaration of variable i.
This breaks module loaders like LABjs and Require. I'm currently using LABjs and getPath breaks. I'm trying to comment it out but then the code doesn't seem to return jQT.setPageHeight properly
Yeah, adding the if check puts the app into an infinite loop in the console: index.html:154TypeError: Result of expression 'jQT.getOrientation' [undefined] is not a function.
Thanks for moving the "var" statement. (see previous comment about being anal)
I've applied your fix. Thanks!
Hi, just found this little bug in plugin jqt bars in getPath() function. When the first script element in page doesnt' have a src attribute, getPath breaks on undefined. Just added check for it.