Mobify.js is a client side adaptation framework for quickly adapting websites to support mobile and tablet devices.
This repository contains the Mobify.js core. The Mobify Client is required to compile the core.
To get started with Mobify.js, follow the instructions on mobifyjs.com.
make
Running the tests requires PhantomJS:
make test
Mobify.js includes javascript client APIs for Mobify;s image and javascript
optimization web services. To get the latest versions of these APIs, go to the
vendor/mobify-service-clients
directory, and adjust bower.json
to install the
versions of the client libraries you want. You can then run grunt build
to
build a new version of the shim.
The compiled documentation for Mobify.js can be found online at mobifyjs.com.
To compile the documentation yourself, install Jekyll
and run it from www
folder:
gem install jekyll
cd www
jekyll --server --auto
Then navigate to http://localhost:4000/mobifyjs/docs/.
Mobify.js includes a library customizable user interface modules in the
modules
folder.
To package the modules for download use this command (they will be stored in /static/downloads):
make modules
When creating a build of mobifyjs.com for release, execute this command:
make buildstatic
And then copy the generated "_site" folder to where the site will be hosted.