krisrak / appframework-templates

HTML5 Mobile App UI templates created using Intel App Framework
MIT License
119 stars 100 forks source link

Any example with jquery and appframework together? #4

Closed ttback closed 10 years ago

ttback commented 10 years ago

I am trying to use your cordova's oauth example, but keep getting TypeError: Property 'promise' of object # is not a function If i have

<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="appframework/jq.appframework.js"></script>
    <script type="text/javascript" charset="utf-8" src="appframework/appframework.ui.min.js"></script>

I tried both jq.appframework.js and appframework.ui.min.js from your repo or the official latest.

ttback commented 10 years ago

Took a long time for me to dig out the solution, it turned out, this issue below needed to be more well-documented: https://github.com/01org/appframework/issues/652 Everywhere else says jq.appframework+appframework should have worked, but it isn't for some reason.