Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/libexec/webmin/authentic-theme/unauthenticated/js/codemirror/mode/sass/ drwxr-xr-x |
Viewing file: Select action/file-type: !function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../css/css")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../css/css"],e):e(CodeMirror)}(function(e){"use strict";e.defineMode("sass",function(r){function t(e){return!e.peek()||e.match(/\s+$/,!1)}function n(e,r){var t=e.peek();return")"===t?(e.next(),r.tokenizer=f,"operator"):"("===t?(e.next(),e.eatSpace(),"operator"):"'"===t||'"'===t?(r.tokenizer=i(e.next()),"string"):(r.tokenizer=i(")",!1),"string")}function o(e,r){return function(t,n){return t.sol()&&t.indentation()<=e?(n.tokenizer=f,f(t,n)):(r&&t.skipTo("*/")?(t.next(),t.next(),n.tokenizer=f):t.skipToEnd(),"comment")}}function i(e,r){function n(o,i){var u=o.next(),s=o.peek(),c=o.string.charAt(o.pos-2);return"\\"!==u&&s===e||u===e&&"\\"!==c?(u!==e&&r&&o.next(),t(o)&&(i.cursorHalf=0),i.tokenizer=f,"string"):"#"===u&&"{"===s?(i.tokenizer=a(n),o.next(),"operator"):"string"}return null==r&&(r=!0),n}function a(e){return function(r,t){return"}"===r.peek()?(r.next(),t.tokenizer=e,"operator"):f(r,t)}}function u(e){if(0==e.indentCount){e.indentCount++;var t=e.scopes[0].offset,n=t+r.indentUnit;e.scopes.unshift({offset:n})}}function s(e){1!=e.scopes.length&&e.scopes.shift()}function f(e,r){var c=e.peek();if(e.match("/*"))return r.tokenizer=o(e.indentation(),!0),r.tokenizer(e,r);if(e.match("//"))return r.tokenizer=o(e.indentation(),!1),r.tokenizer(e,r);if(e.match("#{"))return r.tokenizer=a(f),"operator";if('"'===c||"'"===c)return e.next(),r.tokenizer=i(c),"string";if(r.cursorHalf){if("#"===c&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return t(e)&&(r.cursorHalf=0),"number";if(e.match(/^-?[0-9\.]+/))return t(e)&&(r.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return t(e)&&(r.cursorHalf=0),"unit";if(e.match(x))return t(e)&&(r.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return r.tokenizer=n,t(e)&&(r.cursorHalf=0),"atom";if("$"===c)return e.next(),e.eatWhile(/[\w-]/),t(e)&&(r.cursorHalf=0),"variable-2";if("!"===c)return e.next(),r.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(v))return t(e)&&(r.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return t(e)&&(r.cursorHalf=0),p=e.current().toLowerCase(),d.hasOwnProperty(p)?"atom":m.hasOwnProperty(p)?"keyword":h.hasOwnProperty(p)?(r.prevProp=e.current().toLowerCase(),"property"):"tag";if(t(e))return r.cursorHalf=0,null}else{if("-"===c&&e.match(/^-\w+-/))return"meta";if("."===c){if(e.next(),e.match(/^[\w-]+/))return u(r),"qualifier";if("#"===e.peek())return u(r),"tag"}if("#"===c){if(e.next(),e.match(/^[\w-]+/))return u(r),"builtin";if("#"===e.peek())return u(r),"tag"}if("$"===c)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(x))return"keyword";if(e.match(/^url/)&&"("===e.peek())return r.tokenizer=n,"atom";if("="===c&&e.match(/^=[\w-]+/))return u(r),"meta";if("+"===c&&e.match(/^\+[\w-]+/))return"variable-3";if("@"===c&&e.match(/@extend/)&&(e.match(/\s*[\w]/)||s(r)),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return u(r),"def";if("@"===c)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){p=e.current().toLowerCase();var l=r.prevProp+"-"+p;return h.hasOwnProperty(l)?"property":h.hasOwnProperty(p)?(r.prevProp=p,"property"):k.hasOwnProperty(p)?"property":"tag"}return e.match(/ *:/,!1)?(u(r),r.cursorHalf=1,r.prevProp=e.current().toLowerCase(),"property"):e.match(/ *,/,!1)?"tag":(u(r),"tag")}if(":"===c)return e.match(z)?"variable-3":(e.next(),r.cursorHalf=1,"operator")}return e.match(v)?"operator":(e.next(),null)}function c(e,t){e.sol()&&(t.indentCount=0);var n=t.tokenizer(e,t),o=e.current();if("@return"!==o&&"}"!==o||s(t),null!==n){for(var i=e.pos-o.length,a=i+r.indentUnit*t.indentCount,u=[],f=0;f<t.scopes.length;f++){var c=t.scopes[f];c.offset<=a&&u.push(c)}t.scopes=u}return n}var p,l=e.mimeModes["text/css"],h=l.propertyKeywords||{},m=l.colorKeywords||{},d=l.valueKeywords||{},k=l.fontProperties||{},w=["true","false","null","auto"],x=new RegExp("^"+w.join("|")),y=["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],v=function(e){return new RegExp("^"+e.join("|"))}(y),z=/^::?[a-zA-Z_][\w\-]*/;return{startState:function(){return{tokenizer:f,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(e,r){var t=c(e,r);return r.lastToken={style:t,content:e.current()},t},indent:function(e){return e.scopes[0].offset}}},"css"),e.defineMIME("text/x-sass","sass")}); |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0035 ]-- |