//----------------------------------------------------------------------------1// Copyright (C) 2008-2011 The IPython Development Team2//3// Distributed under the terms of the BSD License. The full license is in4// the file COPYING, distributed as part of this software.5//----------------------------------------------------------------------------67//============================================================================8// Global header/site setup.9//============================================================================1011var IPython = (function (IPython) {12"use strict";1314var Page = function () {15this.style();16this.bind_events();17};1819Page.prototype.style = function () {20$('div#header').addClass('border-box-sizing');21$('div#site').addClass('border-box-sizing');22};232425Page.prototype.bind_events = function () {26};272829Page.prototype.show = function () {30// The header and site divs start out hidden to prevent FLOUC.31// Main scripts should call this method after styling everything.32this.show_header();33this.show_site();34};353637Page.prototype.show_header = function () {38// The header and site divs start out hidden to prevent FLOUC.39// Main scripts should call this method after styling everything.40$('div#header').css('display','block');41};424344Page.prototype.show_site = function () {45// The header and site divs start out hidden to prevent FLOUC.46// Main scripts should call this method after styling everything.47$('div#site').css('display','block');48};495051IPython.Page = Page;5253return IPython;5455}(IPython));565758