refreshPageForField = function(fieldEl)
    {
        // find the data-role="page" and refresh it
        var el = fieldEl;
        while (!Alpaca.isEmpty(el) && el.attr("data-role") !== "page")
        {
            el = el.parent();
        }
        if (!Alpaca.isEmpty(el)) {
            $(el).trigger('pagecreate');
        }
    }
jQuery Mobile Theme ("mobile")

Defines the Alpaca theme for jQuery Mobile.

The style injector:

   mobile

The views are:

   VIEW_MOBILE_DISPLAY
   VIEW_MOBILE_EDIT
   VIEW_MOBILE_CREATE

This theme can also be selected by specifying the following view:

   {
      "ui": "mobile",
      "type": null | "create" | "edit" | "display"
   }