function jquerymobile_is_added in jQuery Mobile module 7
Track that jQM has been added to the page
2 calls to jquerymobile_is_added()
- jquerymobile_add in ./
jquerymobile.module - Add the library to the page
- jquerymobile_js_alter in ./
jquerymobile.module - Implementation of hook_js_alter() @todo some of these (user.js) in particular might want to be included user.js is dis-included because of unresolved issues between Drupal.settings and jQM
File
- ./
jquerymobile.module, line 45 - Provides the jQuery Mobile library to modules and themes that request it.
Code
function jquerymobile_is_added($added = NULL) {
$is_added =& drupal_static(__FUNCTION__);
if (!$is_added && $added) {
$is_added = TRUE;
}
return $is_added;
}