//----------------------------------------------------------------------------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// Events9//============================================================================1011// Give us an object to bind all events to. This object should be created12// before all other objects so it exists when others register event handlers.13// To trigger an event handler:14// $([IPython.events]).trigger('event.Namespace');15// To handle it:16// $([IPython.events]).on('event.Namespace',function () {});1718var IPython = (function (IPython) {19"use strict";2021var utils = IPython.utils;2223var Events = function () {};2425IPython.Events = Events;26IPython.events = new Events();2728return IPython;2930}(IPython));31323334