Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/j3/media/editors/codemirror/mode/http/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/j3/media/editors/codemirror/mode/http/http.min.js

!(function(a){"object"==typeof
exports&&"object"==typeof
module?a(require("../../lib/codemirror")):"function"==typeof
define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})((function(a){"use
strict";a.defineMode("http",(function(){function
a(a,b){return a.skipToEnd(),b.cur=g,"error"}function
b(b,d){return
b.match(/^HTTP\/\d\.\d/)?(d.cur=c,"keyword"):b.match(/^[A-Z]+/)&&/[
\t]/.test(b.peek())?(d.cur=e,"keyword"):a(b,d)}function
c(b,c){var e=b.match(/^\d+/);if(!e)return a(b,c);c.cur=d;var
f=Number(e[0]);return f>=100&&f<200?"positive
informational":f>=200&&f<300?"positive
success":f>=300&&f<400?"positive
redirect":f>=400&&f<500?"negative
client-error":f>=500&&f<600?"negative
server-error":"error"}function d(a,b){return
a.skipToEnd(),b.cur=g,null}function e(a,b){return
a.eatWhile(/\S/),b.cur=f,"string-2"}function f(b,c){return
b.match(/^HTTP\/\d\.\d$/)?(c.cur=g,"keyword"):a(b,c)}function
g(a){return a.sol()&&!a.eat(/[
\t]/)?a.match(/^.*?:/)?"atom":(a.skipToEnd(),"error"):(a.skipToEnd(),"string")}function
h(a){return a.skipToEnd(),null}return{token:function(a,b){var
c=b.cur;return
c!=g&&c!=h&&a.eatSpace()?null:c(a,b)},blankLine:function(a){a.cur=h},startState:function(){return{cur:b}}}})),a.defineMIME("message/http","http")}));