| Server IP : 172.67.187.206 / Your IP : 162.159.115.41 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Inetpub/www/myschool/triamudom/tuprblearn/lib/yuilib/3.17.2/editor-inline/ |
Upload File : |
/*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('editor-inline', function (Y, NAME) {
/**
* Base class for InlineEditor. Instead to use an iframe, uses content editable element via ContentEditable Plugin.
*
* var editor = new Y.InlineEditor({
* content: 'Foo'
* });
* editor.render('#demo');
*
* @class InlineEditor
* @extends EditorBase
* @module editor
* @main editor
* @submodule editor-inline
* @constructor
*/
var InlineEditor = function() {
InlineEditor.superclass.constructor.apply(this, arguments);
};
Y.extend(InlineEditor, Y.EditorBase, {
initializer: function() {
this.plug(Y.Plugin.ContentEditable);
}
});
Y.InlineEditor = InlineEditor;
}, '3.17.2', {"requires": ["editor-base", "content-editable"]});