Browse Source

remove lot of spaces

pull/249/head
connors 11 years ago
parent
commit
92f6e96dc1
  1. 40
      docs-assets/js/docs.js

40
docs-assets/js/docs.js

@ -16,26 +16,26 @@ $(function() {
var eventListeners; var eventListeners;
var initialize = function () { var initialize = function () {
currentActive = 0; currentActive = 0;
topCache = []; topCache = [];
win = $(window); win = $(window);
doc = $(document); doc = $(document);
bod = $(document.body) bod = $(document.body)
device = device || $('.device'); device = device || $('.device');
navComponentLinks = $('.docs-nav'); navComponentLinks = $('.docs-nav');
componentsList = $('.components-list'); componentsList = $('.components-list');
componentLinks = $('.component-example a'); componentLinks = $('.component-example a');
contentSection = $('.component'); contentSection = $('.component');
topCache = contentSection.map(function () { return $(this).offset().top }) topCache = contentSection.map(function () { return $(this).offset().top })
windowHeight = $(window).height() / 3 windowHeight = $(window).height() / 3
pageHeight = $(document).height(); pageHeight = $(document).height();
contentPadding = parseInt($('.docs-content').css('padding-bottom')); contentPadding = parseInt($('.docs-content').css('padding-bottom'));
footerHeight = $('.docs-footer').outerHeight(false); footerHeight = $('.docs-footer').outerHeight(false);
// Device placment // Device placment
device.initialLeft = device.offset().left; device.initialLeft = device.offset().left;
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;
checkDesktopContent(); checkDesktopContent();
calculateScroll(); calculateScroll();

Loading…
Cancel
Save