Browse Source

removing the components js for now

pull/249/head
connors 11 years ago
parent
commit
f77b30b50a
  1. 4
      components.html
  2. 2
      docs-assets/css/docs.css
  3. 18
      docs-assets/js/docs.js
  4. 4
      index.html
  5. 2
      lib/sass/docs.scss

4
components.html

@ -8,9 +8,9 @@ base_url: "../"
<div class="container column-group"> <div class="container column-group">
<div class="column units-2"> <div class="column units-2">
<header class="docs-nav"> <header class="docs-nav">
<a class="icon icon-list pull-right" href="/components" data-ignore="push"></a>
<a class="version" href="https://github.com/maker/ratchet">v2.0.0</a>
<h1 class="docs-title">Ratchet</h1> <h1 class="docs-title">Ratchet</h1>
<a data-ignore="push" class="icon icon-list" href="/components"></a>
<a data-ignore="push" class="version" href="/">Home</a>
</header> </header>
</div> </div>
</div> </div>

2
docs-assets/css/docs.css

@ -881,7 +881,7 @@ body {
.platform-toggle { .platform-toggle {
padding-top: 15px; padding-top: 15px;
padding-bottom: 80px; padding-bottom: 90px;
} }
.platform-toggle.fixed { .platform-toggle.fixed {
position: fixed; position: fixed;

18
docs-assets/js/docs.js

@ -8,7 +8,6 @@ $(function() {
var pageHeight; var pageHeight;
var contentPadding; var contentPadding;
var footerHeight; var footerHeight;
var noticeBanner;
var componentsList; var componentsList;
var navComponentLinks; var navComponentLinks;
var contentSection; var contentSection;
@ -24,7 +23,6 @@ $(function() {
bod = $(document.body) bod = $(document.body)
device = device || $('.device'); device = device || $('.device');
platformToggle = $('.platform-toggle'); platformToggle = $('.platform-toggle');
noticeBanner = $('.notice-banner');
navComponentLinks = $('.docs-nav'); navComponentLinks = $('.docs-nav');
componentsList = $('.components-list'); componentsList = $('.components-list');
componentLinks = $('.component-example a'); componentLinks = $('.component-example a');
@ -40,8 +38,6 @@ $(function() {
device.initialTop = device.initialTop || device.offset().top; device.initialTop = device.initialTop || device.offset().top;
device.dockingOffset = ($(window).height() - device.height())/2; device.dockingOffset = ($(window).height() - device.height())/2;
console.log(device.dockingOffset);
// Toggle placment // Toggle placment
toggleTop = platformToggle.offset().top; toggleTop = platformToggle.offset().top;
toggleHeight = platformToggle.outerHeight(); toggleHeight = platformToggle.outerHeight();
@ -55,19 +51,15 @@ $(function() {
var addEventListeners = function () { var addEventListeners = function () {
eventListeners = true; eventListeners = true;
noticeBanner.on('click', function () {
$(this).hide();
});
device.on('click', function (e) { device.on('click', function (e) {
e.preventDefault(); e.preventDefault();
}); });
navComponentLinks.click(function(e) { // navComponentLinks.click(function(e) {
e.stopPropagation(); // e.stopPropagation();
e.preventDefault(); // e.preventDefault();
componentsList.toggleClass('active'); // componentsList.toggleClass('active');
}) // })
doc.on('click', function () { doc.on('click', function () {
componentsList.removeClass('active'); componentsList.removeClass('active');

4
index.html

@ -8,9 +8,9 @@ base_url: "./"
<div class="container column-group"> <div class="container column-group">
<div class="column units-2"> <div class="column units-2">
<header class="docs-nav"> <header class="docs-nav">
<a class="icon icon-list pull-right" href="/components" data-ignore="push"></a>
<a class="version" href="https://github.com/maker/ratchet">v2.0.0</a>
<h1 class="docs-title">Ratchet</h1> <h1 class="docs-title">Ratchet</h1>
<a class="icon icon-list" href="/components" data-ignore="push"></a>
<a class="version" href="https://github.com/maker/ratchet" data-ignore="push">v2.0.0</a>
</header> </header>
</div> </div>
</div> </div>

2
lib/sass/docs.scss

@ -294,7 +294,7 @@ body {
.platform-toggle { .platform-toggle {
padding-top: 15px; padding-top: 15px;
padding-bottom: 80px; padding-bottom: 90px;
&.fixed { &.fixed {
position: fixed; position: fixed;

Loading…
Cancel
Save