Permalink
Browse files

fixed mismatching tags and escape single quotes

  • Loading branch information...
1 parent 098dbd6 commit 27ee9d57912cf99800925f1375ad0c48e06976ee @agcolom committed Jun 9, 2012
Showing with 8 additions and 8 deletions.
  1. +5 −6 entries/collapsible.xml
  2. +3 −2 entries/dialog.xml
View
@@ -19,7 +19,7 @@ $( document ).bind( "mobileinit", function(){
</desc>
<type name="string" />
</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:
<code><pre>
$( document ).bind( "mobileinit", function(){
@@ -80,7 +80,7 @@ $( document ).bind( "mobileinit", function(){
</desc>
<type name="string" />
</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:
<code><pre>
$( document ).bind( "mobileinit", function(){
@@ -89,7 +89,7 @@ $( document ).bind( "mobileinit", function(){
</desc>
<type name="CSS selector string" />
</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:
<code><pre>
$( document ).bind( "mobileinit", function(){
@@ -109,16 +109,15 @@ $( document ).bind( "mobileinit", function(){
</method>
</methods>
<theming>
- <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>
+ <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:
<code><pre>
$( document ).bind( "mobileinit", function(){
$.mobile.collapsible.prototype.options.theme = "a";
});
</pre></code>
<p>Possible values: swatch letter (a-z).</p>
<p>This option is also exposed as a data attribute: <code>data-theme="a"</code>.</p>
-
</desc>
<type name="String" />
</theme>
View
@@ -19,7 +19,7 @@
</desc>
<type name="String" />
</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:
<code><pre>
$( document ).bind( "mobileinit", function(){
@@ -47,7 +47,8 @@ $( document ).bind( "mobileinit", function(){
</theme>
<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>
- <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" />
</theme>
</theming>

0 comments on commit 27ee9d5

Please sign in to comment.