##// END OF EJS Templates
Use .apply for calling base with not proto-type....
Use .apply for calling base with not proto-type. See codecell for example.

File last commit:

r14572:bdf9a530
r14582:1e8bd2ea
Show More
widget_int.js
22 lines | 888 B | application/javascript | JavascriptLexer
//----------------------------------------------------------------------------
// Copyright (C) 2013 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.
//----------------------------------------------------------------------------
//============================================================================
// IntWidget
//============================================================================
/**
* @module IPython
* @namespace IPython
**/
define(["notebook/js/widgets/widget"], function(widget_manager){
var IntWidgetModel = IPython.WidgetModel.extend({});
widget_manager.register_widget_model('IntWidgetModel', IntWidgetModel);
// The Views for this model are shared with the bounded int, and can be
// found in widget_int_range.js.
});