first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-09-30 18:11:26 -04:00
commit e592ca6823
27270 changed files with 5002257 additions and 0 deletions
@@ -0,0 +1,55 @@
YUI.add('scrollview-base-ie', function (Y, NAME) {
/**
* IE specific support for the scrollview-base module.
*
* @module scrollview-base-ie
*/
Y.mix(Y.ScrollView.prototype, {
/**
* Internal method to fix text selection in IE
*
* @method _fixIESelect
* @for ScrollView
* @private
* @param {Node} bb The bounding box
* @param {Node} cb The content box
*/
_fixIESelect : function(bb, cb) {
this._cbDoc = cb.get("ownerDocument");
this._nativeBody = Y.Node.getDOMNode(Y.one("body", this._cbDoc));
cb.on("mousedown", function() {
this._selectstart = this._nativeBody.onselectstart;
this._nativeBody.onselectstart = this._iePreventSelect;
this._cbDoc.once("mouseup", this._ieRestoreSelect, this);
}, this);
},
/**
* Native onselectstart handle to prevent selection in IE
*
* @method _iePreventSelect
* @for ScrollView
* @private
*/
_iePreventSelect : function() {
return false;
},
/**
* Restores native onselectstart handle, backed up to prevent selection in IE
*
* @method _ieRestoreSelect
* @for ScrollView
* @private
*/
_ieRestoreSelect : function() {
this._nativeBody.onselectstart = this._selectstart;
}
}, true);
}, '3.18.1', {"requires": ["scrollview-base"]});
@@ -0,0 +1 @@
YUI.add("scrollview-base-ie",function(e,t){e.mix(e.ScrollView.prototype,{_fixIESelect:function(t,n){this._cbDoc=n.get("ownerDocument"),this._nativeBody=e.Node.getDOMNode(e.one("body",this._cbDoc)),n.on("mousedown",function(){this._selectstart=this._nativeBody.onselectstart,this._nativeBody.onselectstart=this._iePreventSelect,this._cbDoc.once("mouseup",this._ieRestoreSelect,this)},this)},_iePreventSelect:function(){return!1},_ieRestoreSelect:function(){this._nativeBody.onselectstart=this._selectstart}},!0)},"3.18.1",{requires:["scrollview-base"]});
@@ -0,0 +1,55 @@
YUI.add('scrollview-base-ie', function (Y, NAME) {
/**
* IE specific support for the scrollview-base module.
*
* @module scrollview-base-ie
*/
Y.mix(Y.ScrollView.prototype, {
/**
* Internal method to fix text selection in IE
*
* @method _fixIESelect
* @for ScrollView
* @private
* @param {Node} bb The bounding box
* @param {Node} cb The content box
*/
_fixIESelect : function(bb, cb) {
this._cbDoc = cb.get("ownerDocument");
this._nativeBody = Y.Node.getDOMNode(Y.one("body", this._cbDoc));
cb.on("mousedown", function() {
this._selectstart = this._nativeBody.onselectstart;
this._nativeBody.onselectstart = this._iePreventSelect;
this._cbDoc.once("mouseup", this._ieRestoreSelect, this);
}, this);
},
/**
* Native onselectstart handle to prevent selection in IE
*
* @method _iePreventSelect
* @for ScrollView
* @private
*/
_iePreventSelect : function() {
return false;
},
/**
* Restores native onselectstart handle, backed up to prevent selection in IE
*
* @method _ieRestoreSelect
* @for ScrollView
* @private
*/
_ieRestoreSelect : function() {
this._nativeBody.onselectstart = this._selectstart;
}
}, true);
}, '3.18.1', {"requires": ["scrollview-base"]});