code
stringlengths
24
2.07M
docstring
stringlengths
25
85.3k
func_name
stringlengths
1
92
language
stringclasses
1 value
repo
stringlengths
5
64
path
stringlengths
4
172
url
stringlengths
44
218
license
stringclasses
7 values
function t(t,r){var l=e.call(this,t)||this;l._linesContent=r,l._textRangeRestingSpot=document.createElement("div"),l._visibleLines=new o.VisibleLinesCollection(l),l.domNode=l._visibleLines.domNode;var u=l._context.configuration;return l._lineHeight=u.editor.lineHeight,l._typicalHalfwidthCharacterWidth=u.editor.fontInfo...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t){var r=e.call(this,t)||this;return r._renderDecorations=!1,r._options=new y(r._context.configuration),r._lastRenderData=null,r._buffers=null,r._domNode=n.createFastDomNode(document.createElement("div")),u.PartFingerprints.write(r._domNode,8),r._domNode.setClassName(r._getMinimapDomNodeClassName()),r._domNo...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,r,s){var a=e.call(this,t)||this;a._primaryCursorVisibleRange=null,a._viewController=r,a._viewHelper=s;var c=a._context.configuration.editor;a._accessibilitySupport=c.accessibilitySupport, a._contentLeft=c.layoutInfo.contentLeft,a._contentWidth=c.layoutInfo.contentWidth,a._contentHeight=c.layoutInfo.content...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,t){this.lineHeight=e.editor.lineHeight,this.pixelRatio=e.editor.pixelRatio, this.overviewRulerLanes=e.editor.viewInfo.overviewRulerLanes,this.renderBorder=e.editor.viewInfo.overviewRulerBorder;var i=t.getColor(l.editorOverviewRulerBorder);this.borderColor=i?i.toString():null,this.hideCursor=e.editor.viewIn...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t){var o=e.call(this,t)||this;return o._readOnly=o._context.configuration.editor.readOnly,o._cursorBlinking=o._context.configuration.editor.viewInfo.cursorBlinking,o._cursorStyle=o._context.configuration.editor.viewInfo.cursorStyle,o._cursorSmoothCaretAnimation=o._context.configuration.editor.viewInfo.cursor...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,o,r,x,T){var R=e.call(this)||this;R._cursor=x,R._renderAnimationFrame=null,R.outgoingEvents=T;var F=new l.ViewController(i,r,R.outgoingEvents,t);R.eventDispatcher=new P.ViewEventDispatcher(function(e){return R._renderOnce(e)}),R.eventDispatcher.addEventHandler(R),R._context=new O.ViewContext(i,o.getTheme...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,n,r,a,l,u,d,c,p){var f=e.call(this)||this;f._onDidDispose=f._register(new s.Emitter),f.onDidDispose=f._onDidDispose.event,f._onDidChangeModelContent=f._register(new s.Emitter),f.onDidChangeModelContent=f._onDidChangeModelContent.event, f._onDidChangeModelLanguage=f._register(new s.Emitter),f.onDidChangeM...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i){var n=e.call(this)||this;return n._editor=t,i.createKey("editorId",t.getId()),n._editorFocus=w.EditorContextKeys.focus.bindTo(i),n._textInputFocus=w.EditorContextKeys.textInputFocus.bindTo(i),n._editorTextFocus=w.EditorContextKeys.editorTextFocus.bindTo(i), n._editorTabMovesFocus=w.EditorContextKeys.tab...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i){var n=e.call(this)||this;n._editor=t,n._contextKeyService=i,n._langId=w.EditorContextKeys.languageId.bindTo(i),n._hasCompletionItemProvider=w.EditorContextKeys.hasCompletionItemProvider.bindTo(i),n._hasCodeActionsProvider=w.EditorContextKeys.hasCodeActionsProvider.bindTo(i),n._hasCodeLensProvider=w.Edit...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t){var r=e.call(this)||this;return r._width=0,r._diffEditor=t,r._isVisible=!1, r.shadow=o.createFastDomNode(document.createElement("div")),r.shadow.setClassName("diff-review-shadow"),r.actionBarContainer=o.createFastDomNode(document.createElement("div")),r.actionBarContainer.setClassName("diff-review-actions...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(){ return e.call(this,{id:"editor.action.diffReview.next",label:i.localize(9,null),alias:"Go to Next Difference",precondition:_.ContextKeyExpr.has("isInDiffEditor"),kbOpts:{kbExpr:null,primary:65,weight:100}})||this}
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(i,r,s,u,d,c,h,p,f,g){var m=e.call(this)||this;m._onDidDispose=m._register(new l.Emitter),m.onDidDispose=m._onDidDispose.event,m._onDidUpdateDiff=m._register(new l.Emitter),m.onDidUpdateDiff=m._onDidUpdateDiff.event,m._lastOriginalWarning=null,m._lastModifiedWarning=null,m._editorWorkerService=u,m._codeEditor...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i){var n=e.call(this,t)||this;return n._disableSash=!1===i,n._sashRatio=null,n._sashPosition=null,n._startSashPosition=null,n._sash=n._register(new s.Sash(n._dataSource.getContainerDomNode(),n)),n._disableSash&&(n._sash.state=0), n._sash.onDidStart(function(){return n.onSashDragStart()}),n._sash.onDidChang...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(t,n,o){ this.allowEditorOverflow=!1,this.suppressMouseDown=!0,this._commands=new Map,this._id="codeLensWidget"+ ++e._idPool,this._editor=t,this.setSymbolRange(n),this._domNode=document.createElement("span"),this._domNode.innerHTML=" ",i.addClass(this._domNode,"codelens-decoration"),this.updateHeight(),t...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,o){var r=e.call(this)||this;return r.model=i,r.pixelRatio=o, r.domNode=h(".colorpicker-body"),n.append(t,r.domNode),r.saturationBox=new g(r.domNode,r.model,r.pixelRatio),r._register(r.saturationBox),r._register(r.saturationBox.onDidChange(r.onDidSaturationValueChange,r)),r._register(r.saturationBox.onCol...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,n,o,r){var s=e.call(this)||this;s.model=n,s.pixelRatio=o,s._register(i.onDidChangeZoomLevel(function(){return s.layout() }));var a=h(".colorpicker-widget");t.appendChild(a);var l=new p(a,s.model,r);return s.body=new f(a,s.model,s.pixelRatio),s._register(l),s._register(s.body),s}
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,t){ var o=this;this._toDispose=new n.DisposableStore,this._editor=e,this._state=t,this._isDisposed=!1,this._startSearchingTimer=new i.TimeoutTimer,this._decorations=new u.FindDecorations(e),this._toDispose.add(this._decorations),this._updateDecorationsScheduler=new i.RunOnceScheduler(function(){return o.re...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,o,r,u){var d=e.call(this)||this;d._hideSoon=d._register(new s.RunOnceScheduler(function(){return d._hide()},2e3)),d._isVisible=!1,d._editor=t,d._state=o,d._keybindingService=r,d._domNode=document.createElement("div"),d._domNode.className="findOptionsWidget",d._domNode.style.display="none",d._domNode.style....
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,o,r,s,a,u,c,h){var p=e.call(this)||this;return p._codeEditor=t,p._controller=i,p._state=o,p._contextViewProvider=r,p._keybindingService=s,p._contextKeyService=a,p._storageService=c,p._notificationService=h,p._ctrlEnterReplaceAllWarningPrompted=!!c.getBoolean(F,0),p._isVisible=!1,p._isReplaceVisible=!1,p....
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t){var i=e.call(this)||this;return i._opts=t,i._domNode=document.createElement("div"),i._domNode.title=i._opts.label,i._domNode.tabIndex=0,i._domNode.className="button "+i._opts.className,i._domNode.setAttribute("role","button"), i._domNode.setAttribute("aria-label",i._opts.label),i.onclick(i._domNode,functi...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,o,r){var s=e.call(this)||this;return s._editor=t,s._findWidgetVisible=u.CONTEXT_FIND_WIDGET_VISIBLE.bindTo(i),s._contextKeyService=i,s._storageService=o,s._clipboardService=r,s._updateHistoryDelayer=new n.Delayer(500),s._state=s._register(new p.FindReplaceState),s.loadQueryState(), s._register(s._state.o...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,t,i){var o=this;this.listenersToRemove=new p.DisposableStore,this.editor=e,this.openerService=t,this.notificationService=i;var r=new _.ClickLinkGesture(e);this.listenersToRemove.add(r),this.listenersToRemove.add(r.onMouseMoveOrRelevantKeyDown(function(e){var t=e[0],i=e[1];o._onEditorMouseMove(t,i)})),this....
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,n,o,r,s,u,d){var c=e.call(this)||this ;return c._commandService=u,c._bulkEditService=d,c._editor=t,c._model=c._register(new C.CodeActionModel(c._editor,i,n,o)),c._register(c._model.onDidChangeState(function(e){return c.update(e)})),c._ui=c._register(new h.CodeActionUi(t,D.Id,{applyCodeAction:function(e,t...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(){return e.call(this,{id:"editor.action.addCursorsToTop", label:i.localize(7,null),alias:"Add Cursors To Top",precondition:void 0})||this}
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,n,o){var r=e.call(this)||this;return r.editor=t, r.renderDisposeables=r._register(new l.DisposableStore),r.model=r._register(new l.MutableDisposable),r.allowEditorOverflow=!0,r.markdownRenderer=r._register(new h.MarkdownRenderer(t,o,n)),r.model.value=new y.ParameterHintsModel(t),r.keyVisible=p.Context.Vi...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,n,o,r,s){var a=e.call(this)||this ;return a.editor=t,a._notificationService=i,a._bulkEditService=n,a._progressService=o,a._contextKeyService=r,a._themeService=s,a._renameOperationIdPool=1,a._register(a.editor.onDidChangeModel(function(){return a.onModelChanged()})),a._register(a.editor.onDidChangeModelLa...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,t,n,o,s){var a=this;this.widget=t,this.editor=n,this.markdownRenderer=o,this.triggerKeybindingLabel=s,this.borderWidth=1,this.disposables=new h.DisposableStore,this.el=p.append(e,p.$(".details")),this.disposables.add(h.toDisposable(function(){ return e.removeChild(a.el)})),this.body=p.$(".body"),this.scrol...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,i,n,o,s,a,l,u,d){var c=this;this.editor=e,this.telemetryService=i,this.allowEditorOverflow=!0,this.suppressMouseDown=!0,this.state=null,this.isAuto=!1,this.loadingTimeout=h.Disposable.None,this.currentSuggestionDetails=null,this.ignoreFocusEvents=!1,this.completionModel=null,this.showTimeout=new I.TimeoutT...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,n){ var o=e.call(this,t,i,n)||this;return o._selectionIsEmpty=i.isEmpty(),o}
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i){ var n=e.call(this,i)||this;return n._isNext=t,n}
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i,r,s){var l=e.call(this)||this;return l._contextKeyService=i,l._keybindingService=r,l._openerService=s,l._editor=t,l._isVisibleKey=L.bindTo(l._contextKeyService),l._domNode=o.createFastDomNode(document.createElement("div")),l._domNode.setClassName("accessibilityHelpWidget"),l._domNode.setDisplay("none"),l...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(){return e.call(this,h.QuickCommandNLS.quickCommandActionInput,{ id:"editor.action.quickCommand",label:h.QuickCommandNLS.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:u.EditorContextKeys.focus,primary:n.isIE?571:59,weight:100},menuOpts:{group:"z_commands",order:1}})||this...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,t){ this.themeData=t;var i=t.base;e.length>0?(this.id=i+" "+e,this.themeName=e):(this.id=i,this.themeName=i),this.colors=null,this.defaultColors=Object.create(null),this._tokenTheme=null}
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function E(e,r,a,u,d,c,h){t.WorkbenchListSupportsKeyboardNavigation.bindTo(a),t.didBindWorkbenchListAutomaticKeyboardNavigation||(t.WorkbenchListAutomaticKeyboardNavigation.bindTo(a),t.didBindWorkbenchListAutomaticKeyboardNavigation=!0);var p=function(){var e=a.getContextKeyValue(t.WorkbenchListAutomaticKeyboardNavigat...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
E
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,i,n,o,r,s,a,l){var u=this;this.disposables=[],this.contextKeyService=function(e,t){var i=e.createScoped(t.getHTMLElement());return D.bindTo(i),i}(o,e);t.WorkbenchListSupportsMultiSelectContextKey.bindTo(this.contextKeyService).set(!(!1===i.multipleSelectionSupport)),this.hasSelectionOrFocus=t.WorkbenchList...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,t){var i=this;this._editor=e,this._model=t,this._decorations=new Map,this._decorationIgnoreSet=new Set, this._callOnDispose=new s.DisposableStore,this._callOnModelChange=new s.DisposableStore,this._callOnDispose.add(this._editor.onDidChangeModel(function(){return i._onModelChanged()})),this._onModelChanged...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(){ return e.call(this,new D(!1,!0,!1),{id:t.ID,label:_.localize(23,null),alias:"Peek Type Definition",precondition:b.ContextKeyExpr.and(h.EditorContextKeys.hasTypeDefinitionProvider,h.EditorContextKeys.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:h.EditorContextKeys.editorTextFocus,primary:0,weight:100}})|...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function N(e,t,i){ var n=l.ReferenceProviderRegistry.ordered(e).map(function(n){return Promise.resolve(n.provideReferences(e,t,{includeDeclaration:!0},i)).then(function(e){if(Array.isArray(e))return e},function(e){m.onUnexpectedExternalError(e)})});return Promise.all(n).then(function(e){return x.flatten(x.coalesce(e))}...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
N
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,t,i){var o=this;this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=[],this._editor=t;var r=document.createElement("div");r.className="descriptioncontainer",r.setAttribute("aria-live","assertive"),r.setAttribute("role","alert"),this._messageBlock=document.createEl...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(){return e.call(this,!0,!1,{id:t.ID,label:t.LABEL, alias:"Go to Next Problem (Error, Warning, Info)",precondition:g.EditorContextKeys.writable,kbOpts:{kbExpr:g.EditorContextKeys.editorTextFocus,primary:578,weight:100}})||this}
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(){return e.call(this,!1,!0,{id:"editor.action.marker.prevInFiles", label:i.localize(3,null),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:g.EditorContextKeys.writable,kbOpts:{kbExpr:g.EditorContextKeys.focus,primary:1090,weight:100}})||this}
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,o,r,s,a,l,u,d,c,h){var f=this;return o=o||{},o.ariaLabel=o.ariaLabel||L.StandaloneCodeEditorNLS.editorViewAccessibleLabel, o.ariaLabel=o.ariaLabel+";"+(i.isIE?L.StandaloneCodeEditorNLS.accessibilityHelpMessageIE:L.StandaloneCodeEditorNLS.accessibilityHelpMessage),f=e.call(this,t,o,{},r,s,a,l,d,c,h)||this,u...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function t(t,i){var o=e.call(this)||this,r=Z.init(i),s=r[0],a=r[1];o._serviceCollection=s,o._instantiationService=a;var l=o.get(y.IConfigurationService),u=o.get(P.INotificationService),c=o.get(W.ITelemetryService),h=o.get(V.IThemeService),f=function(e,t){var n=null;return i&&(n=i[e.toString()]),n||(n=t()),o._serviceCol...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
t
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function Y(e,t){_.StaticServices.modeService.get().triggerMode(t);for(var i=function(e){var t=u.TokenizationRegistry.get(e);return t||{getInitialState:function(){return d.NULL_STATE},tokenize:function(t,i,n){ return d.nullTokenize(e,t,i,n)}}}(t),n=e.split(/\r\n|\r|\n/),o=[],r=i.getInitialState(),s=0,a=n.length;s<a;s++)...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
Y
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function v(e,t){var i=l.StaticServices.modeService.get().getLanguageIdentifier(e);if(!i)throw new Error("Cannot set tokens provider for unknown language "+e);var n=function(e){return function(e){ return"tokenizeEncoded"in e}(e)?new V(e):new B(l.StaticServices.standaloneThemeService.get(),i,e)};return m(t)?o.Tokenizatio...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
v
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
n=function(e){return function(e){ return"tokenizeEncoded"in e}(e)?new V(e):new B(l.StaticServices.standaloneThemeService.get(),i,e)}
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
n
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function e(e,t,i,n,o,r){var s=this;this._editor=e,this._memoryService=i,this._commandService=n,this._contextKeyService=o,this._instantiationService=r,this._lineSuffix=new a.MutableDisposable,this._toDispose=new a.DisposableStore,this._model=new w.SuggestModel(this._editor,t),this._widget=new I.IdleValue(function(){var ...
")?e.substr(0,e.length-2):e}function f(e,t,i){var o=r.sep!==r.posix.sep?e.replace(S,r.sep):e,s=r.sep+o,a=i?function(e,i){return"string"!=typeof e||e!==o&&!n.endsWith(e,s)?null:t}:function(e,i){return"string"==typeof e&&e===o?t:null};return a.allPaths=[(i?"
e
javascript
syzoj/syzoj
static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/monaco-editor/0.18.1/min/vs/editor/editor.main.js
MIT
function guid() { return ("0000" + (Math.random()*Math.pow(36,5) << 0).toString(36)).slice(-5); }
Method that returns a 5 letter/digit id, enough for 36^5 = 60466176 elements @returns {string} id
guid
javascript
syzoj/syzoj
static/cdnjs/raphael/2.2.7/raphael.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/raphael/2.2.7/raphael.js
MIT
function guid() { return ("0000" + (Math.random()*Math.pow(36,5) << 0).toString(36)).slice(-5); }
Method that returns a 5 letter/digit id, enough for 36^5 = 60466176 elements @returns {string} id
guid
javascript
syzoj/syzoj
static/cdnjs/raphael/2.2.7/raphael.no-deps.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/raphael/2.2.7/raphael.no-deps.js
MIT
function lookup(uri, opts) { if ((typeof uri === 'undefined' ? 'undefined' : _typeof(uri)) === 'object') { opts = uri; uri = undefined; } opts = opts || {}; var parsed = url(uri); var source = parsed.source; var id = parsed.id; var path = parsed.path; var sameNamespace = cache[id] ...
Looks up an existing `Manager` for multiplexing. If the user summons: `io('http://localhost/a');` `io('http://localhost/b');` We reuse the existing instance based on same scheme/port/host, and we initialize sockets for each namespace. @api public
lookup
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function url(uri, loc) { var obj = uri; // default to window.location loc = loc || typeof location !== 'undefined' && location; if (null == uri) uri = loc.protocol + '//' + loc.host; // relative path support if ('string' === typeof uri) { if ('/' === uri.charAt(0)) { if ('/' === uri.ch...
URL parser. @param {String} url @param {Object} An object meant to mimic window.location. Defaults to window.location. @api public
url
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function useColors() { // NB: In an Electron preload script, document will be defined but not fully // initialized. Since we know we're in Chrome, we'll just detect this case // explicitly if (typeof window !== 'undefined' && window.process && window.process.type === 'renderer') { return true; } ...
Currently only WebKit-based Web Inspectors, Firefox >= v31, and the Firebug extension (any Firefox version) are known to support "%c" CSS customizations. TODO: add a `localStorage` variable to explicitly enable/disable colors
useColors
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function formatArgs(args) { var useColors = this.useColors; args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports.humanize(this.diff); if (!useColors) return; var c = 'color: ' + this.color; args...
Colorize log arguments if enabled. @api public
formatArgs
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function log() { // this hackery is required for IE8/9, where // the `console.log` function doesn't have 'apply' return 'object' === typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments); }
Invokes `console.log()` when available. No-op when `console.log` is not a "function". @api public
log
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function save(namespaces) { try { if (null == namespaces) { exports.storage.removeItem('debug'); } else { exports.storage.debug = namespaces; } } catch(e) {} }
Save `namespaces`. @param {String} namespaces @api private
save
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function load() { var r; try { r = exports.storage.debug; } catch(e) {} // If debug isn't set in LS, and we're in Electron, try to load $DEBUG if (!r && typeof process !== 'undefined' && 'env' in process) { r = process.env.DEBUG; } return r; }
Load `namespaces`. @return {String} returns the previously persisted debug modes @api private
load
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function localstorage() { try { return window.localStorage; } catch (e) {} }
Localstorage attempts to return the localstorage. This is necessary because safari throws when a user disables cookies/localstorage and you attempt to access it. @return {LocalStorage} @api private
localstorage
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function selectColor(namespace) { var hash = 0, i; for (i in namespace) { hash = ((hash << 5) - hash) + namespace.charCodeAt(i); hash |= 0; // Convert to 32bit integer } return exports.colors[Math.abs(hash) % exports.colors.length]; }
Select a color. @param {String} namespace @return {Number} @api private
selectColor
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function createDebug(namespace) { var prevTime; function debug() { // disabled? if (!debug.enabled) return; var self = debug; // set `diff` timestamp var curr = +new Date(); var ms = curr - (prevTime || curr); self.diff = ms; self.prev = prevTime; self.curr = c...
Create a debugger with the given `namespace`. @param {String} namespace @return {Function} @api public
createDebug
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function debug() { // disabled? if (!debug.enabled) return; var self = debug; // set `diff` timestamp var curr = +new Date(); var ms = curr - (prevTime || curr); self.diff = ms; self.prev = prevTime; self.curr = curr; prevTime = curr; // turn the `arguments` ...
Create a debugger with the given `namespace`. @param {String} namespace @return {Function} @api public
debug
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function destroy () { var index = exports.instances.indexOf(this); if (index !== -1) { exports.instances.splice(index, 1); return true; } else { return false; } }
Create a debugger with the given `namespace`. @param {String} namespace @return {Function} @api public
destroy
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function enable(namespaces) { exports.save(namespaces); exports.names = []; exports.skips = []; var i; var split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); var len = split.length; for (i = 0; i < len; i++) { if (!split[i]) continue; // ignore empty strings ...
Enables a debug mode by namespaces. This can include modes separated by a colon and wildcards. @param {String} namespaces @api public
enable
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function enabled(name) { if (name[name.length - 1] === '*') { return true; } var i, len; for (i = 0, len = exports.skips.length; i < len; i++) { if (exports.skips[i].test(name)) { return false; } } for (i = 0, len = exports.names.length; i < len; i++) { if (exports.names[i]....
Returns true if the given mode name is enabled, false otherwise. @param {String} name @return {Boolean} @api public
enabled
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function coerce(val) { if (val instanceof Error) return val.stack || val.message; return val; }
Coerce `val`. @param {Mixed} val @return {Mixed} @api private
coerce
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function parse(str) { str = String(str); if (str.length > 100) { return; } var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec( str ); if (!match) { return; } var n = parseFloat(match[1]); var ...
Parse the given `str` and return milliseconds. @param {String} str @return {Number} @api private
parse
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function fmtShort(ms) { if (ms >= d) { return Math.round(ms / d) + 'd'; } if (ms >= h) { return Math.round(ms / h) + 'h'; } if (ms >= m) { return Math.round(ms / m) + 'm'; } if (ms >= s) { return Math.round(ms / s) + 's'; } return ms + 'ms'; }
Short format for `ms`. @param {Number} ms @return {String} @api private
fmtShort
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function fmtLong(ms) { return plural(ms, d, 'day') || plural(ms, h, 'hour') || plural(ms, m, 'minute') || plural(ms, s, 'second') || ms + ' ms'; }
Long format for `ms`. @param {Number} ms @return {String} @api private
fmtLong
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function encodeAsString(obj) { // first is type var str = '' + obj.type; // attachments if we have them if (exports.BINARY_EVENT === obj.type || exports.BINARY_ACK === obj.type) { str += obj.attachments + '-'; } // if we have a namespace other than `/` // we append it followed by a comma...
Encode packet as string. @param {Object} packet @return {String} encoded @api private
encodeAsString
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function tryStringify(str) { try { return JSON.stringify(str); } catch(e){ return false; } }
Encode packet as string. @param {Object} packet @return {String} encoded @api private
tryStringify
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function encodeAsBinary(obj, callback) { function writeEncoding(bloblessData) { var deconstruction = binary.deconstructPacket(bloblessData); var pack = encodeAsString(deconstruction.packet); var buffers = deconstruction.buffers; buffers.unshift(pack); // add packet info to beginning of data l...
Encode packet as 'buffer sequence' by removing blobs, and deconstructing packet into object with placeholders and a list of buffers. @param {Object} packet @return {Buffer} encoded @api private
encodeAsBinary
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function writeEncoding(bloblessData) { var deconstruction = binary.deconstructPacket(bloblessData); var pack = encodeAsString(deconstruction.packet); var buffers = deconstruction.buffers; buffers.unshift(pack); // add packet info to beginning of data list callback(buffers); // write all the b...
Encode packet as 'buffer sequence' by removing blobs, and deconstructing packet into object with placeholders and a list of buffers. @param {Object} packet @return {Buffer} encoded @api private
writeEncoding
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function Decoder() { this.reconstructor = null; }
A socket.io Decoder instance @return {Object} decoder @api public
Decoder
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function decodeString(str) { var i = 0; // look up type var p = { type: Number(str.charAt(0)) }; if (null == exports.types[p.type]) { return error('unknown packet type ' + p.type); } // look up attachments if type binary if (exports.BINARY_EVENT === p.type || exports.BINARY_ACK ===...
Decode a packet String (JSON data) @param {String} str @return {Object} packet @api private
decodeString
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function tryParse(str) { try { return JSON.parse(str); } catch(e){ return false; } }
Decode a packet String (JSON data) @param {String} str @return {Object} packet @api private
tryParse
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function BinaryReconstructor(packet) { this.reconPack = packet; this.buffers = []; }
A manager of a binary event's 'buffer sequence'. Should be constructed whenever a packet of type BINARY_EVENT is decoded. @param {Object} packet @return {BinaryReconstructor} initialized reconstructor @api private
BinaryReconstructor
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function error(msg) { return { type: exports.ERROR, data: 'parser error: ' + msg }; }
Cleans up binary packet reconstruction variables. @api private
error
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function _deconstructPacket(data, buffers) { if (!data) return data; if (isBuf(data)) { var placeholder = { _placeholder: true, num: buffers.length }; buffers.push(data); return placeholder; } else if (isArray(data)) { var newData = new Array(data.length); for (var i = 0; i < data.le...
Replaces every Buffer | ArrayBuffer in packet with a numbered placeholder. Anything with blobs or files should be fed through removeBlobs before coming here. @param {Object} packet - socket.io event packet @return {Object} with deconstructed packet and list of buffers @api public
_deconstructPacket
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function _reconstructPacket(data, buffers) { if (!data) return data; if (data && data._placeholder) { return buffers[data.num]; // appropriate buffer (should be natural order anyway) } else if (isArray(data)) { for (var i = 0; i < data.length; i++) { data[i] = _reconstructPacket(data[i], buf...
Reconstructs a binary packet from its placeholder packet and buffers @param {Object} packet - event packet with placeholders @param {Array} buffers - binary buffers to put in placeholder positions @return {Object} reconstructed packet @api public
_reconstructPacket
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function _removeBlobs(obj, curKey, containingObject) { if (!obj) return obj; // convert any blob if ((withNativeBlob && obj instanceof Blob) || (withNativeFile && obj instanceof File)) { pendingBlobs++; // async filereader var fileReader = new FileReader(); fileRe...
Asynchronously removes Blobs or Files from data via FileReader's readAsArrayBuffer method. Used before encoding data as msgpack. Calls callback with the blobless data. @param {Object} data @param {Function} callback @api private
_removeBlobs
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function isBuf(obj) { return (withNativeBuffer && Buffer.isBuffer(obj)) || (withNativeArrayBuffer && (obj instanceof ArrayBuffer || isView(obj))); }
Returns true if obj is a buffer or an arraybuffer. @api private
isBuf
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function Manager(uri, opts) { if (!(this instanceof Manager)) return new Manager(uri, opts); if (uri && 'object' === (typeof uri === 'undefined' ? 'undefined' : _typeof(uri))) { opts = uri; uri = undefined; } opts = opts || {}; opts.path = opts.path || '/socket.io'; this.nsps = {}; this...
`Manager` constructor. @param {String} engine instance or engine uri/opts @param {Object} options @api public
Manager
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function onConnecting() { if (!~indexOf(self.connecting, socket)) { self.connecting.push(socket); } }
Creates a new socket for the given `nsp`. @return {Socket} @api public
onConnecting
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function Socket (uri, opts) { if (!(this instanceof Socket)) return new Socket(uri, opts); opts = opts || {}; if (uri && 'object' === typeof uri) { opts = uri; uri = null; } if (uri) { uri = parseuri(uri); opts.hostname = uri.host; opts.secure = uri.protocol === 'https' || ...
Socket constructor. @param {String|Object} uri or options @param {Object} options @api public
Socket
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function clone (obj) { var o = {}; for (var i in obj) { if (obj.hasOwnProperty(i)) { o[i] = obj[i]; } } return o; }
Creates transport of the given type. @param {String} transport name @return {Transport} @api private
clone
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function onTransportOpen () { if (self.onlyBinaryUpgrades) { var upgradeLosesBinary = !this.supportsBinary && self.transport.supportsBinary; failed = failed || upgradeLosesBinary; } if (failed) return; debug('probe transport "%s" opened', name); transport.send([{ type: 'ping', d...
Probes a transport. @param {String} transport name @api private
onTransportOpen
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function freezeTransport () { if (failed) return; // Any callback called by transport should be ignored since now failed = true; cleanup(); transport.close(); transport = null; }
Probes a transport. @param {String} transport name @api private
freezeTransport
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function onerror (err) { var error = new Error('probe error: ' + err); error.transport = transport.name; freezeTransport(); debug('probe transport "%s" failed because of error: %s', name, err); self.emit('upgradeError', error); }
Probes a transport. @param {String} transport name @api private
onerror
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function onTransportClose () { onerror('transport closed'); }
Probes a transport. @param {String} transport name @api private
onTransportClose
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function onclose () { onerror('socket closed'); }
Probes a transport. @param {String} transport name @api private
onclose
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function onupgrade (to) { if (transport && to.name !== transport.name) { debug('"%s" works - aborting "%s"', to.name, transport.name); freezeTransport(); } }
Probes a transport. @param {String} transport name @api private
onupgrade
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function cleanup () { transport.removeListener('open', onTransportOpen); transport.removeListener('error', onerror); transport.removeListener('close', onTransportClose); self.removeListener('close', onclose); self.removeListener('upgrading', onupgrade); }
Probes a transport. @param {String} transport name @api private
cleanup
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function polling (opts) { var xhr; var xd = false; var xs = false; var jsonp = false !== opts.jsonp; if (typeof location !== 'undefined') { var isSSL = 'https:' === location.protocol; var port = location.port; // some user agents have empty `location.port` if (!port) { port...
Polling transport polymorphic constructor. Decides on xhr vs jsonp based on feature detection. @api private
polling
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function XHR (opts) { Polling.call(this, opts); this.requestTimeout = opts.requestTimeout; this.extraHeaders = opts.extraHeaders; if (typeof location !== 'undefined') { var isSSL = 'https:' === location.protocol; var port = location.port; // some user agents have empty `location.port` ...
XHR Polling constructor. @param {Object} opts @api public
XHR
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function Request (opts) { this.method = opts.method || 'GET'; this.uri = opts.uri; this.xd = !!opts.xd; this.xs = !!opts.xs; this.async = false !== opts.async; this.data = undefined !== opts.data ? opts.data : null; this.agent = opts.agent; this.isBinary = opts.isBinary; this.supportsBinary =...
Request constructor @param {Object} options @api public
Request
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function Polling (opts) { var forceBase64 = (opts && opts.forceBase64); if (!hasXHR2 || forceBase64) { this.supportsBinary = false; } Transport.call(this, opts); }
Polling interface. @param {Object} opts @api private
Polling
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function pause () { debug('paused'); self.readyState = 'paused'; onPause(); }
Pauses polling. @param {Function} callback upon buffers are flushed and transport is paused @api private
pause
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
callback = function (packet, index, total) { // if its the first message we consider the transport open if ('opening' === self.readyState) { self.onOpen(); } // if its a close packet, we close the ongoing requests if ('close' === packet.type) { self.onClose(); return fals...
Overloads onData to detect payloads. @api private
callback
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function close () { debug('writing close packet'); self.write([{ type: 'close' }]); }
For polling, send a close packet. @api private
close
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
callbackfn = function () { self.writable = true; self.emit('drain'); }
Writes a packets payload. @param {Array} data packets @param {Function} drain callback @api private
callbackfn
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT
function Transport (opts) { this.path = opts.path; this.hostname = opts.hostname; this.port = opts.port; this.secure = opts.secure; this.query = opts.query; this.timestampParam = opts.timestampParam; this.timestampRequests = opts.timestampRequests; this.readyState = ''; this.agent = opts.agen...
Transport abstract constructor. @param {Object} options. @api private
Transport
javascript
syzoj/syzoj
static/cdnjs/socket.io/2.2.0/socket.io.dev.js
https://github.com/syzoj/syzoj/blob/master/static/cdnjs/socket.io/2.2.0/socket.io.dev.js
MIT