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

« back to all changes in this revision

Viewing changes to web/home_static/nih-cloud-apr2012/NIHCloudDemo_Complete_files/events.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
 
// Events
10
 
//============================================================================
11
 
 
12
 
// Give us an object to bind all events to. This object should be created
13
 
// before all other objects so it exists when others register event handlers.
14
 
// To trigger an event handler:
15
 
// $([IPython.events]).trigger('event.Namespace);
16
 
// To handle it:
17
 
// $([IPython.events]).on('event.Namespace',function () {});
18
 
 
19
 
var IPython = (function (IPython) {
20
 
 
21
 
    var utils = IPython.utils;
22
 
 
23
 
    var Events = function () {};
24
 
 
25
 
    IPython.Events = Events;
26
 
    IPython.events = new Events();
27
 
 
28
 
    return IPython;
29
 
 
30
 
}(IPython));
31