Browse Source

Remove theme-roller

soyjavi 13 years ago
parent
commit
c93940ef4e
3 changed files with 1 additions and 15 deletions
  1. 1 1
      example/index.html
  2. 0 6
      example/static/asides/features.html
  3. 0 8
      example/static/javascripts/app.js

+ 1 - 1
example/index.html

@@ -46,7 +46,7 @@
 
 
     <!-- Main Stylesheet -->
     <!-- Main Stylesheet -->
     <link rel="stylesheet" href="components/lungo.brownie/lungo.css">
     <link rel="stylesheet" href="components/lungo.brownie/lungo.css">
-    <link rel="stylesheet" href="components/lungo.brownie/lungo.theme.css" id="theme-stylesheet">
+    <link rel="stylesheet" href="components/lungo.brownie/lungo.theme.css">
     <link rel="stylesheet" href="components/lungo.icon/lungo.icon.css">
     <link rel="stylesheet" href="components/lungo.icon/lungo.icon.css">
     <!-- App Stylesheet -->
     <!-- App Stylesheet -->
     <link rel="stylesheet" href="static/stylesheets/app.css">
     <link rel="stylesheet" href="static/stylesheets/app.css">

+ 0 - 6
example/static/asides/features.html

@@ -102,12 +102,6 @@
                 <strong>Buttons & Colours</strong>
                 <strong>Buttons & Colours</strong>
             </li>
             </li>
 
 
-            <!-- Theme roller -->
-            <li  data-view-article="themeroller" data-async="static/articles/theme.html" data-icon="adjust">
-                <div class="tag on-right">4</div>
-                <strong>Theme roller</strong>
-            </li>
-
             <!-- Grid System -->
             <!-- Grid System -->
             <li data-view-article="grid" data-async="static/articles/grid.html" data-icon="grid">
             <li data-view-article="grid" data-async="static/articles/grid.html" data-icon="grid">
                 <strong>Grid System</strong>
                 <strong>Grid System</strong>

+ 0 - 8
example/static/javascripts/app.js

@@ -75,14 +75,6 @@ Lungo.Events.init({
 
 
     'tap section#carousel > header [data-direction=right]': App.carousel.next,
     'tap section#carousel > header [data-direction=right]': App.carousel.next,
 
 
-    'tap #themeroller li': function(event) {
-        var link = $$("#theme-stylesheet");
-        var url = link.attr("href");
-        var new_url = url.split("/").slice(0, -1);
-        new_url.push($$(this).attr("data-theme"));
-        link.attr('href', new_url.join("/"));
-    },
-
     'load section#pull': function(event) {
     'load section#pull': function(event) {
         App.pull = new Lungo.Element.Pull('section#pull article', {
         App.pull = new Lungo.Element.Pull('section#pull article', {
             onPull: "Pull down to refresh",
             onPull: "Pull down to refresh",