Skip to content

Commit

Permalink
fixed mismatching tags and escape single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
agcolom committed Jun 9, 2012
1 parent 098dbd6 commit 27ee9d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
11 changes: 5 additions & 6 deletions entries/collapsible.xml
Expand Up @@ -19,7 +19,7 @@ $( document ).bind( "mobileinit", function(){
</desc> </desc>
<type name="string" /> <type name="string" />
</option> </option>
<option name="collapsed" default=true> <option name="collapsed" default="true">
<desc>When false, the container is initially expanded with a minus icon in the header. To set the value for all instances of this widget, bind this option to the mobileinit event: <desc>When false, the container is initially expanded with a minus icon in the header. To set the value for all instances of this widget, bind this option to the mobileinit event:
<code><pre> <code><pre>
$( document ).bind( "mobileinit", function(){ $( document ).bind( "mobileinit", function(){
Expand Down Expand Up @@ -80,7 +80,7 @@ $( document ).bind( "mobileinit", function(){
</desc> </desc>
<type name="string" /> <type name="string" />
</option> </option>
<option name="initSelector" default='":jqmData(role=\'dialog\')"'> <option name="initSelector" default='":jqmData(role=&#39;dialog&#39;)"'>
<desc>This is used to define the selectors (element types, data roles, etc.) that will automatically be initialized as collapsibles. To change which elements are initialized, bind this option to the mobileinit event: <desc>This is used to define the selectors (element types, data roles, etc.) that will automatically be initialized as collapsibles. To change which elements are initialized, bind this option to the mobileinit event:
<code><pre> <code><pre>
$( document ).bind( "mobileinit", function(){ $( document ).bind( "mobileinit", function(){
Expand All @@ -89,7 +89,7 @@ $( document ).bind( "mobileinit", function(){
</desc> </desc>
<type name="CSS selector string" /> <type name="CSS selector string" />
</option> </option>
<option name="mini" default=false> <option name="mini" default="false">
<desc>Sets the size of the element to a more compact, mini version. If the value is false for an individual collapsible container, but that container is part of a collapsible set, then the value is inherited from the parent collapsible set. To set the value for all instances of this widget, bind this option to the mobileinit event: <desc>Sets the size of the element to a more compact, mini version. If the value is false for an individual collapsible container, but that container is part of a collapsible set, then the value is inherited from the parent collapsible set. To set the value for all instances of this widget, bind this option to the mobileinit event:
<code><pre> <code><pre>
$( document ).bind( "mobileinit", function(){ $( document ).bind( "mobileinit", function(){
Expand All @@ -109,16 +109,15 @@ $( document ).bind( "mobileinit", function(){
</method> </method>
</methods> </methods>
<theming> <theming>
<theme name="theme" default=null, inherited from parent> <theme name="theme" default="null, inherited from parent">
<desc>Sets the color scheme (swatch) for the collapsible. It accepts a single letter from a-z that maps to the swatches included in your theme. To set the value for all instances of this widget, bind this option to the mobileinit event:</p> <desc>Sets the color scheme (swatch) for the collapsible. It accepts a single letter from a-z that maps to the swatches included in your theme. To set the value for all instances of this widget, bind this option to the mobileinit event:
<code><pre> <code><pre>
$( document ).bind( "mobileinit", function(){ $( document ).bind( "mobileinit", function(){
$.mobile.collapsible.prototype.options.theme = "a"; $.mobile.collapsible.prototype.options.theme = "a";
}); });
</pre></code> </pre></code>
<p>Possible values: swatch letter (a-z).</p> <p>Possible values: swatch letter (a-z).</p>
<p>This option is also exposed as a data attribute: <code>data-theme="a"</code>.</p> <p>This option is also exposed as a data attribute: <code>data-theme="a"</code>.</p>

</desc> </desc>
<type name="String" /> <type name="String" />
</theme> </theme>
Expand Down
5 changes: 3 additions & 2 deletions entries/dialog.xml
Expand Up @@ -19,7 +19,7 @@
</desc> </desc>
<type name="String" /> <type name="String" />
</option> </option>
<option name="initSelector" default='":jqmData(role=\'dialog\')"'> <option name="initSelector" default='":jqmData(role=&#39;dialog&#39;)"'>
<desc>This is used to define the selectors (element types, data roles, etc.) that will automatically be initialized as dialogs. To change which elements are initialized, bind this option to the mobileinit event: <desc>This is used to define the selectors (element types, data roles, etc.) that will automatically be initialized as dialogs. To change which elements are initialized, bind this option to the mobileinit event:
<code><pre> <code><pre>
$( document ).bind( "mobileinit", function(){ $( document ).bind( "mobileinit", function(){
Expand Down Expand Up @@ -47,7 +47,8 @@ $( document ).bind( "mobileinit", function(){
</theme> </theme>
<theme name="overlayTheme" default='"a"'> <theme name="overlayTheme" default='"a"'>
<desc>Dialogs appear to be floating above an overlay layer. This overlay adopts the swatch A content color by default, but the data-overlay-theme attribute can be added to the page wrapper to set the overlay to any swatch letter.<p> Possible values: swatch letter (a-z)</p> <desc>Dialogs appear to be floating above an overlay layer. This overlay adopts the swatch A content color by default, but the data-overlay-theme attribute can be added to the page wrapper to set the overlay to any swatch letter.<p> Possible values: swatch letter (a-z)</p>
<p>This option is also exposed as a data attribute: <code>data-overlay-theme</code>.</desc> <p>This option is also exposed as a data attribute: <code>data-overlay-theme</code>.</p>
</desc>
<type name="String" /> <type name="String" />
</theme> </theme>
</theming> </theming>
Expand Down

0 comments on commit 27ee9d5

Please sign in to comment.