File manager - Edit - /home/opticamezl/www/newok/coffeescript.tar
Back
coffeescript.min.js.gz 0000644 00000003450 15175220777 0010776 0 ustar 00 � �W�r�8���0���j� Dͤ�|��uR��V �, ��1�v; ��S�8����܀����d��.�ѱy��dg�PI�Ԅ ���� p���AmI�(����rE!�<���\�+%@(XʸЬ�B�v����.a|ZL�s��gY�+��z�����gu�xހ0���+YPr��u�x� <1=�:>f�� j����Y):*ڴJ� �t���^*n +�.�� u�@(I� �Z��o`�w�u�*^�4��q����"N.�_/b⤤{�ޥ���N?$Q璨K:��я�uN�D���D�%]�u��%"��{�4�(������$L��K�(�"��{���_ޯ��_��N��mz��Ŀ����`2Q �� xm¬�y�M&r*����$��=��J)+M��ZQ�ZK�e���'��wZ�z�b\deivʬ�A�ߓ���{s E�E��t���Re�%m̞�4� �0����}�~2K%���� /�����BpI*Xx�y�����@�.�k��7��]�3~����J�'�9�?�|��h>f�*[�:ޢ-K��l��uC��Lk���Ϥ���\�%�X�#g�z�,!BG�չ�����VB�xׅ/���u��q_2V�&4�h�\WYN�8M���(�h2�U(چ��t92t"��� {�#PP����u����u��k�cW�ei�T�z��Yt�@p~~~&j����E^�"]+Z�k��Ax�������?�I�KB�9��uo�o/�����g��*)./)V���*Y�QR�P�s亰%���+M}��XKZ����6j� �.��Y~�k�H��Þ*`�+OX�9hO�5KW�,���x�~�&��+'No`��IqH�R�L��V\���-�^�*EEv�� n:��Q��dbu�A��z�o���nF���P��r?�jyB��E@VTe�T w�(���ִ�|�E k�ü�u��*%+�Y�w�ٕ�<ϔ�(��I�b�Ԥ���پ� ���{D�/��#̧19�U�:2�`�0�j� g��&��Џoހ�O��G��C�$�恍ʄ��cԹAKd �ә�3RbZ�~����l����\ܖ��\�k��K=�눓�`)a��~�pj��c��&�εS�@帨�24c�_pi ,��cV܌��w݈��6��+�lqk���CJ"�J�G9���]7n��##r ���� ��rg�PYU-�^.�A@�Zt�WRq�ܡ��`95h�C�Vu��6)�X�=�cC(��d)�En�Q7j�~9�&l�{5�0�TSU����qB��c�l� 1谡���N�4f����!��htI9Pgkg�8�Rbg;��7�qr������H�f�b'�]��z�ά� "��N`��u�kv�������J���v � E=���*�V[�p���!��aF����� l���qs�G;���Y9����=}��b:/Y�\�/�f��9�lQ���{rF$�/�X7�j��������?�q�~Pb#*��v�ƶ�h��i��m�9��98[l5���F�Bײ�N�*��:���Ɉ-�����!j�%�FGC�Ft�,g�V2��� �zl�����9�i��`Q��/�Jx�]��7p��nm�E���$�E�ɰ�M��� Gqc_��m�n U� 6(�*��� �q���F, � 3Y�أ�(�K���_������J�����B��,��_�6��m�����= ��C6v� coffeescript.min.js 0000644 00000010217 15175220777 0010356 0 ustar 00 (function(c){typeof exports=="object"&&typeof module=="object"?c(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){"use strict";c.defineMode("coffeescript",function(y,x){var v="error";function p(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var w=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,b=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,k=/^[_A-Za-z$][_A-Za-z$0-9]*/,z=/^@[_A-Za-z$][_A-Za-z$0-9]*/,a=p(["and","or","not","is","isnt","in","instanceof","typeof"]),d=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],A=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],E=p(d.concat(A));d=p(d);var S=/^('{3}|\"{3}|['\"])/,M=/^(\/{3}|\/)/,O=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],R=p(O);function l(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var i=n.scope.offset;if(e.eatSpace()){var f=e.indentation();return f>i&&n.scope.type=="coffee"?"indent":f<i?"dedent":null}else i>0&&h(e,n)}if(e.eatSpace())return null;var r=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=I,n.tokenize(e,n);if(r==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var u=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(u=!0),e.match(/^-?\d+\.\d*/)&&(u=!0),e.match(/^-?\.\d+/)&&(u=!0),u)return e.peek()=="."&&e.backUp(1),"number";var o=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(o=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(o=!0),e.match(/^-?0(?![\dx])/i)&&(o=!0),o)return"number"}if(e.match(S))return n.tokenize=g(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(M)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=g(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(w)||e.match(a)?"operator":e.match(b)?"punctuation":e.match(R)?"atom":e.match(z)||n.prop&&e.match(k)?"property":e.match(E)?"keyword":e.match(k)?"variable":(e.next(),v)}function g(e,n,i){return function(f,r){for(;!f.eol();)if(f.eatWhile(/[^'"\/\\]/),f.eat("\\")){if(f.next(),n&&f.eol())return i}else{if(f.match(e))return r.tokenize=l,i;f.eat(/['"\/]/)}return n&&(x.singleLineStringErrors?i=v:r.tokenize=l),i}}function I(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=l;break}e.eatWhile("#")}return"comment"}function t(e,n,i){i=i||"coffee";for(var f=0,r=!1,u=null,o=n.scope;o;o=o.prev)if(o.type==="coffee"||o.type=="}"){f=o.offset+y.indentUnit;break}i!=="coffee"?(r=null,u=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:f,type:i,prev:n.scope,align:r,alignOffset:u}}function h(e,n){if(n.scope.prev)if(n.scope.type==="coffee"){for(var i=e.indentation(),f=!1,r=n.scope;r;r=r.prev)if(i===r.offset){f=!0;break}if(!f)return!0;for(;n.scope.prev&&n.scope.offset!==i;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function Z(e,n){var i=n.tokenize(e,n),f=e.current();f==="return"&&(n.dedent=!0),((f==="->"||f==="=>")&&e.eol()||i==="indent")&&t(e,n);var r="[({".indexOf(f);if(r!==-1&&t(e,n,"])}".slice(r,r+1)),d.exec(f)&&t(e,n),f=="then"&&h(e,n),i==="dedent"&&h(e,n))return v;if(r="])}".indexOf(f),r!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==f&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),i}var _={startState:function(e){return{tokenize:l,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var i=n.scope.align===null&&n.scope;i&&e.sol()&&(i.align=!1);var f=Z(e,n);return f&&f!="comment"&&(i&&(i.align=!0),n.prop=f=="punctuation"&&e.current()=="."),f},indent:function(e,n){if(e.tokenize!=l)return 0;var i=e.scope,f=n&&"])}".indexOf(n.charAt(0))>-1;if(f)for(;i.type=="coffee"&&i.prev;)i=i.prev;var r=f&&i.type===n.charAt(0);return i.align?i.alignOffset-(r?1:0):(r?i.prev:i).offset},lineComment:"#",fold:"indent"};return _}),c.defineMIME("application/vnd.coffeescript","coffeescript"),c.defineMIME("text/x-coffeescript","coffeescript"),c.defineMIME("text/coffeescript","coffeescript")}); coffeescript.js 0000644 00000023466 15175220777 0007606 0 ustar 00 // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE /** * Link to the project's GitHub page: * https://github.com/pickhardt/coffeescript-codemirror-mode */ (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use strict"; CodeMirror.defineMode("coffeescript", function(conf, parserConf) { var ERRORCLASS = "error"; function wordRegexp(words) { return new RegExp("^((" + words.join(")|(") + "))\\b"); } var operators = /^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/; var delimiters = /^(?:[()\[\]{},:`=;]|\.\.?\.?)/; var identifiers = /^[_A-Za-z$][_A-Za-z$0-9]*/; var atProp = /^@[_A-Za-z$][_A-Za-z$0-9]*/; var wordOperators = wordRegexp(["and", "or", "not", "is", "isnt", "in", "instanceof", "typeof"]); var indentKeywords = ["for", "while", "loop", "if", "unless", "else", "switch", "try", "catch", "finally", "class"]; var commonKeywords = ["break", "by", "continue", "debugger", "delete", "do", "in", "of", "new", "return", "then", "this", "@", "throw", "when", "until", "extends"]; var keywords = wordRegexp(indentKeywords.concat(commonKeywords)); indentKeywords = wordRegexp(indentKeywords); var stringPrefixes = /^('{3}|\"{3}|['\"])/; var regexPrefixes = /^(\/{3}|\/)/; var commonConstants = ["Infinity", "NaN", "undefined", "null", "true", "false", "on", "off", "yes", "no"]; var constants = wordRegexp(commonConstants); // Tokenizers function tokenBase(stream, state) { // Handle scope changes if (stream.sol()) { if (state.scope.align === null) state.scope.align = false; var scopeOffset = state.scope.offset; if (stream.eatSpace()) { var lineOffset = stream.indentation(); if (lineOffset > scopeOffset && state.scope.type == "coffee") { return "indent"; } else if (lineOffset < scopeOffset) { return "dedent"; } return null; } else { if (scopeOffset > 0) { dedent(stream, state); } } } if (stream.eatSpace()) { return null; } var ch = stream.peek(); // Handle docco title comment (single line) if (stream.match("####")) { stream.skipToEnd(); return "comment"; } // Handle multi line comments if (stream.match("###")) { state.tokenize = longComment; return state.tokenize(stream, state); } // Single line comment if (ch === "#") { stream.skipToEnd(); return "comment"; } // Handle number literals if (stream.match(/^-?[0-9\.]/, false)) { var floatLiteral = false; // Floats if (stream.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)) { floatLiteral = true; } if (stream.match(/^-?\d+\.\d*/)) { floatLiteral = true; } if (stream.match(/^-?\.\d+/)) { floatLiteral = true; } if (floatLiteral) { // prevent from getting extra . on 1.. if (stream.peek() == "."){ stream.backUp(1); } return "number"; } // Integers var intLiteral = false; // Hex if (stream.match(/^-?0x[0-9a-f]+/i)) { intLiteral = true; } // Decimal if (stream.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)) { intLiteral = true; } // Zero by itself with no other piece of number. if (stream.match(/^-?0(?![\dx])/i)) { intLiteral = true; } if (intLiteral) { return "number"; } } // Handle strings if (stream.match(stringPrefixes)) { state.tokenize = tokenFactory(stream.current(), false, "string"); return state.tokenize(stream, state); } // Handle regex literals if (stream.match(regexPrefixes)) { if (stream.current() != "/" || stream.match(/^.*\//, false)) { // prevent highlight of division state.tokenize = tokenFactory(stream.current(), true, "string-2"); return state.tokenize(stream, state); } else { stream.backUp(1); } } // Handle operators and delimiters if (stream.match(operators) || stream.match(wordOperators)) { return "operator"; } if (stream.match(delimiters)) { return "punctuation"; } if (stream.match(constants)) { return "atom"; } if (stream.match(atProp) || state.prop && stream.match(identifiers)) { return "property"; } if (stream.match(keywords)) { return "keyword"; } if (stream.match(identifiers)) { return "variable"; } // Handle non-detected items stream.next(); return ERRORCLASS; } function tokenFactory(delimiter, singleline, outclass) { return function(stream, state) { while (!stream.eol()) { stream.eatWhile(/[^'"\/\\]/); if (stream.eat("\\")) { stream.next(); if (singleline && stream.eol()) { return outclass; } } else if (stream.match(delimiter)) { state.tokenize = tokenBase; return outclass; } else { stream.eat(/['"\/]/); } } if (singleline) { if (parserConf.singleLineStringErrors) { outclass = ERRORCLASS; } else { state.tokenize = tokenBase; } } return outclass; }; } function longComment(stream, state) { while (!stream.eol()) { stream.eatWhile(/[^#]/); if (stream.match("###")) { state.tokenize = tokenBase; break; } stream.eatWhile("#"); } return "comment"; } function indent(stream, state, type) { type = type || "coffee"; var offset = 0, align = false, alignOffset = null; for (var scope = state.scope; scope; scope = scope.prev) { if (scope.type === "coffee" || scope.type == "}") { offset = scope.offset + conf.indentUnit; break; } } if (type !== "coffee") { align = null; alignOffset = stream.column() + stream.current().length; } else if (state.scope.align) { state.scope.align = false; } state.scope = { offset: offset, type: type, prev: state.scope, align: align, alignOffset: alignOffset }; } function dedent(stream, state) { if (!state.scope.prev) return; if (state.scope.type === "coffee") { var _indent = stream.indentation(); var matched = false; for (var scope = state.scope; scope; scope = scope.prev) { if (_indent === scope.offset) { matched = true; break; } } if (!matched) { return true; } while (state.scope.prev && state.scope.offset !== _indent) { state.scope = state.scope.prev; } return false; } else { state.scope = state.scope.prev; return false; } } function tokenLexer(stream, state) { var style = state.tokenize(stream, state); var current = stream.current(); // Handle scope changes. if (current === "return") { state.dedent = true; } if (((current === "->" || current === "=>") && stream.eol()) || style === "indent") { indent(stream, state); } var delimiter_index = "[({".indexOf(current); if (delimiter_index !== -1) { indent(stream, state, "])}".slice(delimiter_index, delimiter_index+1)); } if (indentKeywords.exec(current)){ indent(stream, state); } if (current == "then"){ dedent(stream, state); } if (style === "dedent") { if (dedent(stream, state)) { return ERRORCLASS; } } delimiter_index = "])}".indexOf(current); if (delimiter_index !== -1) { while (state.scope.type == "coffee" && state.scope.prev) state.scope = state.scope.prev; if (state.scope.type == current) state.scope = state.scope.prev; } if (state.dedent && stream.eol()) { if (state.scope.type == "coffee" && state.scope.prev) state.scope = state.scope.prev; state.dedent = false; } return style; } var external = { startState: function(basecolumn) { return { tokenize: tokenBase, scope: {offset:basecolumn || 0, type:"coffee", prev: null, align: false}, prop: false, dedent: 0 }; }, token: function(stream, state) { var fillAlign = state.scope.align === null && state.scope; if (fillAlign && stream.sol()) fillAlign.align = false; var style = tokenLexer(stream, state); if (style && style != "comment") { if (fillAlign) fillAlign.align = true; state.prop = style == "punctuation" && stream.current() == "." } return style; }, indent: function(state, text) { if (state.tokenize != tokenBase) return 0; var scope = state.scope; var closer = text && "])}".indexOf(text.charAt(0)) > -1; if (closer) while (scope.type == "coffee" && scope.prev) scope = scope.prev; var closes = closer && scope.type === text.charAt(0); if (scope.align) return scope.alignOffset - (closes ? 1 : 0); else return (closes ? scope.prev : scope).offset; }, lineComment: "#", fold: "indent" }; return external; }); // IANA registered media type // https://www.iana.org/assignments/media-types/ CodeMirror.defineMIME("application/vnd.coffeescript", "coffeescript"); CodeMirror.defineMIME("text/x-coffeescript", "coffeescript"); CodeMirror.defineMIME("text/coffeescript", "coffeescript"); });
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings