diff --git a/add_version.php b/add_version.php
index 3917fc5..d88880b 100644
--- a/add_version.php
+++ b/add_version.php
@@ -1,24 +1,27 @@
\"" . $jq . "\"\n);", $contents );
- $file = fopen( 'version.php', 'w' );
- fwrite( $file, $contents );
- fclose( $file );
+ writeFile( 'version.php', $contents );
} else {
echo 'This script must be executed via command line';
@@ -75,8 +74,7 @@ function check404( $url ) {
function getFile( $url, $filename ) {
if ( check404( $url ) ) {
echo $url . " could not be found. Generating empty file for " . $filename . "\n";
- $file = fopen( $filename, 'w' );
- fclose( $file );
+ writeFile( $filename, '' );
return false;
} else {
//get contents
@@ -86,13 +84,17 @@ function getFile( $url, $filename ) {
curl_close( $handle );
//write them out to local file
- $file = fopen( $filename, 'w' );
- fwrite( $file, $contents );
- fclose( $file );
+ writeFile( $filename, $contents );
return true;
}
}
+ function writeFile( $filename, $string ) {
+ $file = fopen( $filename, 'w' );
+ fwrite( $file, $string );
+ fclose( $file );
+ }
+
function createStarter( $default, $starter ) {
$contents = file_get_contents( $default );
@@ -109,18 +111,10 @@ function createStarter( $default, $starter ) {
$temp = preg_replace( "/{c-/", "{a-", $temp );
$a_swatch = preg_replace( "/\/\*\s*C(\s*-*\*\/)/", "/* A$1", $temp );
- //Build B swatch
- $temp = preg_replace( "/-c\s/", "-b ", $c_swatch );
- $temp = preg_replace( "/-c,/", "-b,", $temp );
- $temp = preg_replace( "/{c-/", "{b-", $temp );
- $b_swatch = preg_replace( "/\/\*\s*C(\s*-*\*\/)/", "/* B$1", $temp );
-
- $contents = preg_replace( "/(\/\*\s*C\s*-*\*\/.*)\/\*\sStructure\s\*\//s",
- $a_swatch . $b_swatch . "$1/* Structure */", $contents );
+ $contents = preg_replace( "/\/\*\s*C\s*-*\*\/.*\/\*\sStructure\s\*\//s",
+ $a_swatch . "/* Structure */", $contents );
- $file = fopen( $starter, 'w' );
- fwrite( $file, $contents );
- fclose( $file );
+ writeFile( $starter, $contents );
}
function rrmdir($dir) {
@@ -128,9 +122,9 @@ function rrmdir($dir) {
if(is_dir($file))
@rrmdir($file);
else
- unlink($file);
+ @unlink($file);
}
- rmdir($dir);
+ @rmdir($dir);
}
?>
\ No newline at end of file
diff --git a/css/tr.preview.css b/css/tr.preview.css
index dc5978d..e886b9b 100644
--- a/css/tr.preview.css
+++ b/css/tr.preview.css
@@ -46,6 +46,10 @@
border-left-width: 1px;
}
+.preview [data-role=fieldcontain] fieldset .ui-controlgroup-controls {
+ width: 100%;
+}
+
.ui-slider{
width: 62% !important;
}
diff --git a/jqm/1.0.1/preview.html b/jqm/1.0.1/preview.html
index 0938365..a40c91c 100755
--- a/jqm/1.0.1/preview.html
+++ b/jqm/1.0.1/preview.html
@@ -47,8 +47,8 @@
A
-
-
+
+
diff --git a/jqm/1.1.0/preview.html b/jqm/1.1.0/preview.html
index 77dcad8..bdf4fe2 100755
--- a/jqm/1.1.0/preview.html
+++ b/jqm/1.1.0/preview.html
@@ -47,8 +47,8 @@ A
-
-
+
+
diff --git a/jqm/1.1.1-rc.1/jqm.starter.theme.css b/jqm/1.1.1-rc.1/jqm.starter.theme.css
index b10ac75..09bc6d2 100644
--- a/jqm/1.1.1-rc.1/jqm.starter.theme.css
+++ b/jqm/1.1.1-rc.1/jqm.starter.theme.css
@@ -159,306 +159,6 @@
}
-/* B
------------------------------------------------------------------------------------------------------------*/
-
-.ui-bar-b {
- border: 1px solid #B3B3B3 /*{b-bar-border}*/;
- background: #eeeeee /*{b-bar-background-color}*/;
- color: #3E3E3E /*{b-bar-color}*/;
- font-weight: bold;
- text-shadow: 0 /*{b-bar-shadow-x}*/ 1px /*{b-bar-shadow-y}*/ 1px /*{b-bar-shadow-radius}*/ #fff /*{b-bar-shadow-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #f0f0f0 /*{b-bar-background-start}*/), to( #ddd /*{b-bar-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #f0f0f0 /*{b-bar-background-start}*/, #ddd /*{b-bar-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #f0f0f0 /*{b-bar-background-start}*/, #ddd /*{b-bar-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #f0f0f0 /*{b-bar-background-start}*/, #ddd /*{b-bar-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #f0f0f0 /*{b-bar-background-start}*/, #ddd /*{b-bar-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #f0f0f0 /*{b-bar-background-start}*/, #ddd /*{b-bar-background-end}*/);
-}
-.ui-bar-b .ui-link-inherit {
- color: #3E3E3E /*{b-bar-color}*/;
-}
-
-.ui-bar-b a.ui-link {
- color: #7cc4e7 /*{b-bar-link-color}*/;
- font-weight: bold;
-}
-
-.ui-bar-b a.ui-link:visited {
- color: #2489CE /*{b-bar-link-visited}*/;
-}
-
-.ui-bar-b a.ui-link:hover {
- color: #2489CE /*{b-bar-link-hover}*/;
-}
-
-.ui-bar-b a.ui-link:active {
- color: #2489CE /*{b-bar-link-active}*/;
-}
-
-.ui-bar-b,
-.ui-bar-b input,
-.ui-bar-b select,
-.ui-bar-b textarea,
-.ui-bar-b button {
- font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
-}
-.ui-body-b,
-.ui-overlay-b {
- border: 1px solid #aaa /*{b-body-border}*/;
- color: #333333 /*{b-body-color}*/;
- text-shadow: 0 /*{b-body-shadow-x}*/ 1px /*{b-body-shadow-y}*/ 0 /*{b-body-shadow-radius}*/ #fff /*{b-body-shadow-color}*/;
- background: #f9f9f9 /*{b-body-background-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #f9f9f9 /*{b-body-background-start}*/), to( #eeeeee /*{b-body-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #f9f9f9 /*{b-body-background-start}*/, #eeeeee /*{b-body-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #f9f9f9 /*{b-body-background-start}*/, #eeeeee /*{b-body-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #f9f9f9 /*{b-body-background-start}*/, #eeeeee /*{b-body-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #f9f9f9 /*{b-body-background-start}*/, #eeeeee /*{b-body-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #f9f9f9 /*{b-body-background-start}*/, #eeeeee /*{b-body-background-end}*/);
-}
-.ui-overlay-b {
- background-image: none;
- border-width: 0;
-}
-.ui-body-b,
-.ui-body-b input,
-.ui-body-b select,
-.ui-body-b textarea,
-.ui-body-b button {
- font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
-}
-.ui-body-b .ui-link-inherit {
- color: #333333 /*{b-body-color}*/;
-}
-
-.ui-body-b .ui-link {
- color: #2489CE /*{b-body-link-color}*/;
- font-weight: bold;
-}
-
-.ui-body-b .ui-link:visited {
- color: #2489CE /*{b-body-link-visited}*/;
-}
-
-.ui-body-b .ui-link:hover {
- color: #2489CE /*{b-body-link-hover}*/;
-}
-
-.ui-body-b .ui-link:active {
- color: #2489CE /*{b-body-link-active}*/;
-}
-
-.ui-btn-up-b {
- border: 1px solid #ccc /*{b-bup-border}*/;
- background: #eee /*{b-bup-background-color}*/;
- font-weight: bold;
- color: #222 /*{b-bup-color}*/;
- text-shadow: 0 /*{b-bup-shadow-x}*/ 1px /*{b-bup-shadow-y}*/ 0 /*{b-bup-shadow-radius}*/ #ffffff /*{b-bup-shadow-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #ffffff /*{b-bup-background-start}*/), to( #f1f1f1 /*{b-bup-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #ffffff /*{b-bup-background-start}*/, #f1f1f1 /*{b-bup-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #ffffff /*{b-bup-background-start}*/, #f1f1f1 /*{b-bup-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #ffffff /*{b-bup-background-start}*/, #f1f1f1 /*{b-bup-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #ffffff /*{b-bup-background-start}*/, #f1f1f1 /*{b-bup-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #ffffff /*{b-bup-background-start}*/, #f1f1f1 /*{b-bup-background-end}*/);
-}
-.ui-btn-up-c:visited,
-.ui-btn-up-b a.ui-link-inherit {
- color: #2F3E46 /*{b-bup-color}*/;
-}
-.ui-btn-hover-b {
- border: 1px solid #bbb /*{b-bhover-border}*/;
- background: #dfdfdf /*{b-bhover-background-color}*/;
- font-weight: bold;
- color: #222 /*{b-bhover-color}*/;
- text-shadow: 0 /*{b-bhover-shadow-x}*/ 1px /*{b-bhover-shadow-y}*/ 0 /*{b-bhover-shadow-radius}*/ #ffffff /*{b-bhover-shadow-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #f6f6f6 /*{b-bhover-background-start}*/), to( #e0e0e0 /*{b-bhover-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #f6f6f6 /*{b-bhover-background-start}*/, #e0e0e0 /*{b-bhover-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #f6f6f6 /*{b-bhover-background-start}*/, #e0e0e0 /*{b-bhover-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #f6f6f6 /*{b-bhover-background-start}*/, #e0e0e0 /*{b-bhover-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #f6f6f6 /*{b-bhover-background-start}*/, #e0e0e0 /*{b-bhover-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #f6f6f6 /*{b-bhover-background-start}*/, #e0e0e0 /*{b-bhover-background-end}*/);
-}
-.ui-btn-hover-c:visited,
-.ui-btn-hover-c:hover,
-.ui-btn-hover-b a.ui-link-inherit {
- color: #2F3E46 /*{b-bhover-color}*/;
-}
-.ui-btn-down-b {
- border: 1px solid #bbb /*{b-bdown-border}*/;
- background: #d6d6d6 /*{b-bdown-background-color}*/;
- font-weight: bold;
- color: #222 /*{b-bdown-color}*/;
- text-shadow: 0 /*{b-bdown-shadow-x}*/ 1px /*{b-bdown-shadow-y}*/ 0 /*{b-bdown-shadow-radius}*/ #ffffff /*{b-bdown-shadow-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #d0d0d0 /*{b-bdown-background-start}*/), to( #dfdfdf /*{b-bdown-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #d0d0d0 /*{b-bdown-background-start}*/, #dfdfdf /*{b-bdown-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #d0d0d0 /*{b-bdown-background-start}*/, #dfdfdf /*{b-bdown-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #d0d0d0 /*{b-bdown-background-start}*/, #dfdfdf /*{b-bdown-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #d0d0d0 /*{b-bdown-background-start}*/, #dfdfdf /*{b-bdown-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #d0d0d0 /*{b-bdown-background-start}*/, #dfdfdf /*{b-bdown-background-end}*/);
-}
-.ui-btn-down-c:visited,
-.ui-btn-down-c:hover,
-.ui-btn-down-b a.ui-link-inherit {
- color: #2F3E46 /*{b-bdown-color}*/;
-}
-.ui-btn-up-b,
-.ui-btn-hover-b,
-.ui-btn-down-b {
- font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
- text-decoration: none;
-}
-
-
-/* C
------------------------------------------------------------------------------------------------------------*/
-
-.ui-bar-c {
- border: 1px solid #B3B3B3 /*{c-bar-border}*/;
- background: #eeeeee /*{c-bar-background-color}*/;
- color: #3E3E3E /*{c-bar-color}*/;
- font-weight: bold;
- text-shadow: 0 /*{c-bar-shadow-x}*/ 1px /*{c-bar-shadow-y}*/ 1px /*{c-bar-shadow-radius}*/ #fff /*{c-bar-shadow-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #f0f0f0 /*{c-bar-background-start}*/), to( #ddd /*{c-bar-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #f0f0f0 /*{c-bar-background-start}*/, #ddd /*{c-bar-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #f0f0f0 /*{c-bar-background-start}*/, #ddd /*{c-bar-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #f0f0f0 /*{c-bar-background-start}*/, #ddd /*{c-bar-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #f0f0f0 /*{c-bar-background-start}*/, #ddd /*{c-bar-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #f0f0f0 /*{c-bar-background-start}*/, #ddd /*{c-bar-background-end}*/);
-}
-.ui-bar-c .ui-link-inherit {
- color: #3E3E3E /*{c-bar-color}*/;
-}
-
-.ui-bar-c a.ui-link {
- color: #7cc4e7 /*{c-bar-link-color}*/;
- font-weight: bold;
-}
-
-.ui-bar-c a.ui-link:visited {
- color: #2489CE /*{c-bar-link-visited}*/;
-}
-
-.ui-bar-c a.ui-link:hover {
- color: #2489CE /*{c-bar-link-hover}*/;
-}
-
-.ui-bar-c a.ui-link:active {
- color: #2489CE /*{c-bar-link-active}*/;
-}
-
-.ui-bar-c,
-.ui-bar-c input,
-.ui-bar-c select,
-.ui-bar-c textarea,
-.ui-bar-c button {
- font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
-}
-.ui-body-c,
-.ui-overlay-c {
- border: 1px solid #aaa /*{c-body-border}*/;
- color: #333333 /*{c-body-color}*/;
- text-shadow: 0 /*{c-body-shadow-x}*/ 1px /*{c-body-shadow-y}*/ 0 /*{c-body-shadow-radius}*/ #fff /*{c-body-shadow-color}*/;
- background: #f9f9f9 /*{c-body-background-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #f9f9f9 /*{c-body-background-start}*/), to( #eeeeee /*{c-body-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #f9f9f9 /*{c-body-background-start}*/, #eeeeee /*{c-body-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #f9f9f9 /*{c-body-background-start}*/, #eeeeee /*{c-body-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #f9f9f9 /*{c-body-background-start}*/, #eeeeee /*{c-body-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #f9f9f9 /*{c-body-background-start}*/, #eeeeee /*{c-body-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #f9f9f9 /*{c-body-background-start}*/, #eeeeee /*{c-body-background-end}*/);
-}
-.ui-overlay-c {
- background-image: none;
- border-width: 0;
-}
-.ui-body-c,
-.ui-body-c input,
-.ui-body-c select,
-.ui-body-c textarea,
-.ui-body-c button {
- font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
-}
-.ui-body-c .ui-link-inherit {
- color: #333333 /*{c-body-color}*/;
-}
-
-.ui-body-c .ui-link {
- color: #2489CE /*{c-body-link-color}*/;
- font-weight: bold;
-}
-
-.ui-body-c .ui-link:visited {
- color: #2489CE /*{c-body-link-visited}*/;
-}
-
-.ui-body-c .ui-link:hover {
- color: #2489CE /*{c-body-link-hover}*/;
-}
-
-.ui-body-c .ui-link:active {
- color: #2489CE /*{c-body-link-active}*/;
-}
-
-.ui-btn-up-c {
- border: 1px solid #ccc /*{c-bup-border}*/;
- background: #eee /*{c-bup-background-color}*/;
- font-weight: bold;
- color: #222 /*{c-bup-color}*/;
- text-shadow: 0 /*{c-bup-shadow-x}*/ 1px /*{c-bup-shadow-y}*/ 0 /*{c-bup-shadow-radius}*/ #ffffff /*{c-bup-shadow-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #ffffff /*{c-bup-background-start}*/), to( #f1f1f1 /*{c-bup-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #ffffff /*{c-bup-background-start}*/, #f1f1f1 /*{c-bup-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #ffffff /*{c-bup-background-start}*/, #f1f1f1 /*{c-bup-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #ffffff /*{c-bup-background-start}*/, #f1f1f1 /*{c-bup-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #ffffff /*{c-bup-background-start}*/, #f1f1f1 /*{c-bup-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #ffffff /*{c-bup-background-start}*/, #f1f1f1 /*{c-bup-background-end}*/);
-}
-.ui-btn-up-c:visited,
-.ui-btn-up-c a.ui-link-inherit {
- color: #2F3E46 /*{c-bup-color}*/;
-}
-.ui-btn-hover-c {
- border: 1px solid #bbb /*{c-bhover-border}*/;
- background: #dfdfdf /*{c-bhover-background-color}*/;
- font-weight: bold;
- color: #222 /*{c-bhover-color}*/;
- text-shadow: 0 /*{c-bhover-shadow-x}*/ 1px /*{c-bhover-shadow-y}*/ 0 /*{c-bhover-shadow-radius}*/ #ffffff /*{c-bhover-shadow-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #f6f6f6 /*{c-bhover-background-start}*/), to( #e0e0e0 /*{c-bhover-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #f6f6f6 /*{c-bhover-background-start}*/, #e0e0e0 /*{c-bhover-background-end}*/);
-}
-.ui-btn-hover-c:visited,
-.ui-btn-hover-c:hover,
-.ui-btn-hover-c a.ui-link-inherit {
- color: #2F3E46 /*{c-bhover-color}*/;
-}
-.ui-btn-down-c {
- border: 1px solid #bbb /*{c-bdown-border}*/;
- background: #d6d6d6 /*{c-bdown-background-color}*/;
- font-weight: bold;
- color: #222 /*{c-bdown-color}*/;
- text-shadow: 0 /*{c-bdown-shadow-x}*/ 1px /*{c-bdown-shadow-y}*/ 0 /*{c-bdown-shadow-radius}*/ #ffffff /*{c-bdown-shadow-color}*/;
- background-image: -webkit-gradient(linear, left top, left bottom, from( #d0d0d0 /*{c-bdown-background-start}*/), to( #dfdfdf /*{c-bdown-background-end}*/)); /* Saf4+, Chrome */
- background-image: -webkit-linear-gradient( #d0d0d0 /*{c-bdown-background-start}*/, #dfdfdf /*{c-bdown-background-end}*/); /* Chrome 10+, Saf5.1+ */
- background-image: -moz-linear-gradient( #d0d0d0 /*{c-bdown-background-start}*/, #dfdfdf /*{c-bdown-background-end}*/); /* FF3.6 */
- background-image: -ms-linear-gradient( #d0d0d0 /*{c-bdown-background-start}*/, #dfdfdf /*{c-bdown-background-end}*/); /* IE10 */
- background-image: -o-linear-gradient( #d0d0d0 /*{c-bdown-background-start}*/, #dfdfdf /*{c-bdown-background-end}*/); /* Opera 11.10+ */
- background-image: linear-gradient( #d0d0d0 /*{c-bdown-background-start}*/, #dfdfdf /*{c-bdown-background-end}*/);
-}
-.ui-btn-down-c:visited,
-.ui-btn-down-c:hover,
-.ui-btn-down-c a.ui-link-inherit {
- color: #2F3E46 /*{c-bdown-color}*/;
-}
-.ui-btn-up-c,
-.ui-btn-hover-c,
-.ui-btn-down-c {
- font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
- text-decoration: none;
-}
-
-
/* Structure */
/* links within "buttons"
diff --git a/jqm/1.1.1-rc.1/panel.js b/jqm/1.1.1-rc.1/panel.js
new file mode 100644
index 0000000..e69de29
diff --git a/jqm/1.1.1-rc.1/preview.html b/jqm/1.1.1-rc.1/preview.html
index 0938365..bdf4fe2 100644
--- a/jqm/1.1.1-rc.1/preview.html
+++ b/jqm/1.1.1-rc.1/preview.html
@@ -13,7 +13,7 @@
-
+
@@ -74,7 +74,7 @@
A
-
+
diff --git a/js/app.js b/js/app.js
index f2966bb..28f42cb 100644
--- a/js/app.js
+++ b/js/app.js
@@ -145,7 +145,6 @@ TR.addSwatch = function( new_style, duplicate ) {
newTabPanel.html( temp_panel_template );
-
//adding swatch to preview document
var temp_swatch_template = TR.swatchTemplate.replace( /"a"/g, "\"" + lower + "\"" ).replace( />A<\/h1>/g, ">" + upper + "" )
.replace( /-a\s/g, "-" + lower + " " ).replace( /-a\"/g, "-" + lower + "\"" );
@@ -1170,7 +1169,7 @@ TR.initThemeRoller = function() {
//initialize templates for adding swatches later
TR.panelTemplate = $( "#tab2" ).html();
- TR.swatchTemplate = "
";
+ TR.swatchTemplate = "
";
TR.panelTemplate = $( "#tab2" ).html();
//call initialization methods