//---------------------------------------------------------------------------- // Copyright (C) 2012 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. //---------------------------------------------------------------------------- //============================================================================ // MetaUI //============================================================================ /** * A Module to control the per-cell toolbar. * @module IPython * @namespace IPython * @submodule MetaUI */ var IPython = (function (IPython) { "use strict"; /** * @constructor * @class MetaUI * @param {The cell to attach the metadata UI to} cell */ var MetaUI = function (cell) { MetaUI._instances.push(this); this.metainner = $('
'); this.cell = cell; this.element = $('
').addClass('metaedit') .append(this.metainner) this.rebuild(); return this; }; MetaUI.dropdown_preset_selector = $('