~ubuntu-branches/ubuntu/trusty/qiime/trusty

« back to all changes in this revision

Viewing changes to web/home_static/nih-cloud-apr2012/Timing_files/printnotebookmain.js

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2013-06-17 18:28:26 UTC
  • mfrom: (9.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20130617182826-376az5ad080a0sfe
Tags: 1.7.0+dfsg-1
Upload preparations done for BioLinux to Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//----------------------------------------------------------------------------
2
 
//  Copyright (C) 2008-2011  The IPython Development Team
3
 
//
4
 
//  Distributed under the terms of the BSD License.  The full license is in
5
 
//  the file COPYING, distributed as part of this software.
6
 
//----------------------------------------------------------------------------
7
 
 
8
 
//============================================================================
9
 
// On document ready
10
 
//============================================================================
11
 
 
12
 
 
13
 
$(document).ready(function () {
14
 
 
15
 
    IPython.init_mathjax();
16
 
 
17
 
    IPython.read_only = $('body').data('readOnly') === 'True';
18
 
    $('div#main_app').addClass('border-box-sizing ui-widget');
19
 
    $('div#notebook_panel').addClass('border-box-sizing ui-widget');
20
 
 
21
 
    IPython.page = new IPython.Page();
22
 
    IPython.markdown_converter = new Markdown.Converter();
23
 
    IPython.login_widget = new IPython.LoginWidget('span#login_widget');
24
 
    IPython.notebook = new IPython.Notebook('div#notebook');
25
 
    IPython.page.show_site();
26
 
 
27
 
    IPython.notebook.load_notebook($('body').data('notebookId'));
28
 
 
29
 
});
30