Skip to content

Phonegap-ready skeleton app using jQuery mobile and knockout js

Notifications You must be signed in to change notification settings

jeremija/jqm-ko-phonegap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WHAT IS IT?

This is a jQuery Mobile web site using knockoutjs framework for data binding, ready to be used with Phonegap 3.0.

screenshot

TRY IT YOURSELF

Clone the repository

git clone https://github.com/jeremija/jqm-ko-phonegap.git
cd jqm-ko-phonegap

To run it in a web browser you must run a simple web server. If you have python installed, run the following command in root folder of the project:

python -m SimpleHTTPServer

Then navigate to http://localhost:8000/www/index.html in your browser.

You might also want to uncomment the

<script>
    $(document).trigger('deviceready');
</script>

part in www/index.html which fakes the Phonegap's deviceready event.

RUNNING TESTS

This project uses mochajs testing framework for unit tests.

Go to the root folder of the project and execute scripts/run-tests.sh. The prerequisites for running tests in the console are JSHint and mocha-phantomjs. You can install those packages with the following command:

npm install jshint mocha-phantomjs 

Alternatively, you can open the test/index.html file in a browser and mocha tests will be run automatically.

About

Phonegap-ready skeleton app using jQuery mobile and knockout js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages