##// END OF EJS Templates
Merge pull request #2708 from Carreau/less-css...
Merge pull request #2708 from Carreau/less-css Less css

File last commit:

r9277:3a70b9df
r9405:ec14a41a merge
Show More
printnotebookmain.js
30 lines | 1.1 KiB | application/javascript | JavascriptLexer
//----------------------------------------------------------------------------
// Copyright (C) 2008-2011 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//----------------------------------------------------------------------------
//============================================================================
// On document ready
//============================================================================
$(document).ready(function () {
IPython.mathjaxutils.init();
IPython.read_only = $('body').data('readOnly') === 'True';
$('#ipython-main-app').addClass('border-box-sizing');
$('div#notebook_panel').addClass('border-box-sizing');
IPython.page = new IPython.Page();
IPython.markdown_converter = new Markdown.Converter();
IPython.login_widget = new IPython.LoginWidget('span#login_widget');
IPython.notebook = new IPython.Notebook('div#notebook');
IPython.page.show_site();
IPython.notebook.load_notebook($('body').data('notebookId'));
});