Class Index | File Index

Classes


Class mobilize.options

Options and their default values.

These default values can be overriden by extender getExtendedOptions() or user supplied parameters to init().


Defined in: mobilize.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
<static>  
mobilize.options.inlineStyleMaxCheckLength
How many characters <style> inner text may contain it to be run through inline CSS importer check
<static>  
mobilize.options.templateCacheVersion
You need to set this value in order to cache mobile page template in localStorage.
<static>  
mobilize.options.whitelistScriptSrc
<script src=""> whitelist for filtering web specific elements from <head>

If src attribute has substring match of any list element, the tag is left to mobile version also.

<static>  
mobilize.options.whitelistStyleImport
<style type="text/css> @import whitelist for filtering web specific elements from <head>

If CSS @import content has substring match of any list element, the tag is left to mobile version also.

Class Detail
mobilize.options()
See:
mobilize.init
mobilize.getExtendedOptions
Field Detail
<static> mobilize.options.inlineStyleMaxCheckLength
How many characters <style> inner text may contain it to be run through inline CSS importer check

<static> mobilize.options.templateCacheVersion
You need to set this value in order to cache mobile page template in localStorage.

Every time template is upgraded this values must be changed within your construction script tag.

If value is null caching is not used.

Default Value:
null

<static> mobilize.options.whitelistScriptSrc
<script src=""> whitelist for filtering web specific elements from <head>

If src attribute has substring match of any list element, the tag is left to mobile version also.

Default Value:
allow scripts which have mobilize in their name.

<static> mobilize.options.whitelistStyleImport
<style type="text/css> @import whitelist for filtering web specific elements from <head>

If CSS @import content has substring match of any list element, the tag is left to mobile version also.

See:
mobilize.options.inlineStyleMaxCheckLength
Default Value:
empty list

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Feb 25 2011 04:53:14 GMT+0200 (EET)