1// Name: HTMLEditor.Toolbar_buttons.ModeButton.debug.js 2// Assembly: AjaxControlToolkit 3// Version: 4.1.7.1213 4// FileVersion: 4.1.7.1213 5Type.registerNamespace("Sys.Extended.UI.HTMLEditor"); 6Type.registerNamespace("Sys.Extended.UI.HTMLEditor.ToolbarButton"); 7 8Sys.Extended.UI.HTMLEditor.ToolbarButton.ModeButton = function(element) { 9 Sys.Extended.UI.HTMLEditor.ToolbarButton.ModeButton.initializeBase(this, [element]); 10 11 this._activeMode = Sys.Extended.UI.HTMLEditor.ActiveModeType.Design; 12} 13 14Sys.Extended.UI.HTMLEditor.ToolbarButton.ModeButton.prototype = { 15 get_activeMode : function() { 16 return this._activeMode; 17 }, 18 set_activeMode : function(value) { 19 this._activeMode = value; 20 }, 21 22 _onclick : function(e) { 23 if(!Sys.Extended.UI.HTMLEditor.ToolbarButton.ModeButton.callBaseMethod(this, "_onclick")) return false; 24 var modeButton = this; 25 setTimeout(function() { 26 modeButton._editPanel.set_activeMode(modeButton._activeMode); 27 },0); 28 return true; 29 }, 30 31 onEditPanelActivity : function() { 32 this.setActivity(this._editPanel.get_activeMode() == this._activeMode); 33 } 34} 35 36Sys.Extended.UI.HTMLEditor.ToolbarButton.ModeButton.registerClass("Sys.Extended.UI.HTMLEditor.ToolbarButton.ModeButton", Sys.Extended.UI.HTMLEditor.ToolbarButton.ImageButton); 37
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.