{"size": 2271, "ext": "js", "max_stars_repo_path": "excel/Wijmo/wijtextbox/jquery.wijmo.wijtextbox.min.js", "max_stars_repo_name": "ljx0517/phalconeye", "max_stars_repo_stars_event_min_datetime": "2015-01-02T16:41:11.000Z", "max_stars_repo_stars_event_max_datetime": "2015-01-02T16:41:11.000Z", "max_issues_repo_path": "excel/Wijmo/wijtextbox/jquery.wijmo.wijtextbox.min.js", "max_issues_repo_name": "ljx0517/phalconeye", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "excel/Wijmo/wijtextbox/jquery.wijmo.wijtextbox.min.js", "max_forks_repo_name": "ljx0517/phalconeye", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 2271.0, "max_line_length": 2271, "alphanum_fraction": 0.7635402906}
var __extends=this.__extends||function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);r.prototype=t.prototype,e.prototype=new r},wijmo;(function(e){(function(t){"use strict";var n=jQuery,r="wijtextbox",i=function(e){function t(){e.apply(this,arguments)}return __extends(t,e),t.prototype._create=function(){var t=this,r=t.element,i=t.options.wijCSS,s={input:!0,textarea:!0},o={text:!0,password:!0,email:!0,url:!0},u=r.get(0).nodeName.toLowerCase(),a=r.attr("type");window.wijmoApplyWijTouchUtilEvents&&(n=window.wijmoApplyWijTouchUtilEvents(n));if(!s.hasOwnProperty(u))return;if(u==="input"&&a&&!o.hasOwnProperty(a.toLowerCase()))return;r.addClass(i.wijtextbox).addClass(i.widget).addClass(i.stateDefault).addClass(i.cornerAll),t.element.bind("mouseover."+t.widgetName,function(){r.addClass(i.stateHover)}).bind("mouseout."+t.widgetName,function(){r.removeClass(i.stateHover)}).bind("mousedown."+t.widgetName,function(){r.addClass(i.stateActive)}).bind("mouseup."+t.widgetName,function(){r.removeClass(i.stateActive)}).bind("focus."+t.widgetName,function(){r.addClass(i.stateFocus)}).bind("blur."+t.widgetName,function(){r.removeClass(i.stateFocus)}),(r.is(":disabled")||t._isDisabled())&&t._setOption("disabled",!0),e.prototype._create.call(this)},t.prototype.destroy=function(){var t=this,n=t.options.wijCSS;t.element.removeClass(n.widget).removeClass(n.stateDefault).removeClass(n.cornerAll).removeClass(n.stateHover).removeClass(n.stateActive).removeClass(n.stateFocus).removeClass(n.wijtextbox).unbind("."+t.widgetName),e.prototype.destroy.call(this)},t.prototype._innerDisable=function(){e.prototype._innerDisable.call(this),this._toggleDisableInput(!0)},t.prototype._innerEnable=function(){e.prototype._innerEnable.call(this),this._toggleDisableInput(!1)},t.prototype._toggleDisableInput=function(e){this.element.attr("disabled",e)},t}(e.wijmoWidget);t.wijtextbox=i;var s=function(){function e(){this.initSelector=":jqmData(role='wijtextbox')",this.wijCSS={wijtextbox:"wijmo-wijtextbox"},this.wijMobileCSS={stateDefault:"ui-input-text"}}return e}();i.prototype.options=n.extend(!0,{},e.wijmoWidget.prototype.options,new s),n.wijmo.registerWidget(r,i.prototype)})(e.textbox||(e.textbox={}));var t=e.textbox})(wijmo||(wijmo={}));