{"id":6897,"date":"2014-05-10T07:05:50","date_gmt":"2014-05-10T07:05:50","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/10\/jsrender-incompatible-with-phonegap-on-android-collection-of-common-programming-errors\/"},"modified":"2014-05-10T07:05:50","modified_gmt":"2014-05-10T07:05:50","slug":"jsrender-incompatible-with-phonegap-on-android-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/10\/jsrender-incompatible-with-phonegap-on-android-collection-of-common-programming-errors\/","title":{"rendered":"JsRender incompatible with PhoneGap on Android?-Collection of common programming errors"},"content":{"rendered":"<p>I would like to use JsRender in a PhoneGap Jquery Mobile project. When I run my application in a simple browser (for example Firefox), everything works fine. When I run the application in Android emulator I get the following error in console:<\/p>\n<p>D\/CordovaLog(603): file:\/\/\/android_asset\/www\/js\/program.js: Line 45 : TypeError: Result of expression &#8216;$(&#8220;#vehicletemplate&#8221;).render&#8217; [undefined] is not a function.<\/p>\n<p>Please advice. Is there anybody who try JsRender in Phonegap with Jquery Mobile on Android 2.1?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I would like to use JsRender in a PhoneGap Jquery Mobile project. When I run my application in a simple browser (for example Firefox), everything works fine. When I run the application in Android emulator I get the following error in console: D\/CordovaLog(603): file:\/\/\/android_asset\/www\/js\/program.js: Line 45 : TypeError: Result of expression &#8216;$(&#8220;#vehicletemplate&#8221;).render&#8217; [undefined] is not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6897","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6897"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6897\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}