Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-file-.../lib/codemirr.../mode/css
File: scss_test.js
// CodeMirror, copyright (c) by Marijn Haverbeke and others
[0] Fix | Delete
// Distributed under an MIT license: http://codemirror.net/LICENSE
[1] Fix | Delete
[2] Fix | Delete
(function() {
[3] Fix | Delete
var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-scss");
[4] Fix | Delete
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "scss"); }
[5] Fix | Delete
[6] Fix | Delete
MT('url_with_quotation',
[7] Fix | Delete
"[tag foo] { [property background]:[atom url]([string test.jpg]) }");
[8] Fix | Delete
[9] Fix | Delete
MT('url_with_double_quotes',
[10] Fix | Delete
"[tag foo] { [property background]:[atom url]([string \"test.jpg\"]) }");
[11] Fix | Delete
[12] Fix | Delete
MT('url_with_single_quotes',
[13] Fix | Delete
"[tag foo] { [property background]:[atom url]([string \'test.jpg\']) }");
[14] Fix | Delete
[15] Fix | Delete
MT('string',
[16] Fix | Delete
"[def @import] [string \"compass/css3\"]");
[17] Fix | Delete
[18] Fix | Delete
MT('important_keyword',
[19] Fix | Delete
"[tag foo] { [property background]:[atom url]([string \'test.jpg\']) [keyword !important] }");
[20] Fix | Delete
[21] Fix | Delete
MT('variable',
[22] Fix | Delete
"[variable-2 $blue]:[atom #333]");
[23] Fix | Delete
[24] Fix | Delete
MT('variable_as_attribute',
[25] Fix | Delete
"[tag foo] { [property color]:[variable-2 $blue] }");
[26] Fix | Delete
[27] Fix | Delete
MT('numbers',
[28] Fix | Delete
"[tag foo] { [property padding]:[number 10px] [number 10] [number 10em] [number 8in] }");
[29] Fix | Delete
[30] Fix | Delete
MT('number_percentage',
[31] Fix | Delete
"[tag foo] { [property width]:[number 80%] }");
[32] Fix | Delete
[33] Fix | Delete
MT('selector',
[34] Fix | Delete
"[builtin #hello][qualifier .world]{}");
[35] Fix | Delete
[36] Fix | Delete
MT('singleline_comment',
[37] Fix | Delete
"[comment // this is a comment]");
[38] Fix | Delete
[39] Fix | Delete
MT('multiline_comment',
[40] Fix | Delete
"[comment /*foobar*/]");
[41] Fix | Delete
[42] Fix | Delete
MT('attribute_with_hyphen',
[43] Fix | Delete
"[tag foo] { [property font-size]:[number 10px] }");
[44] Fix | Delete
[45] Fix | Delete
MT('string_after_attribute',
[46] Fix | Delete
"[tag foo] { [property content]:[string \"::\"] }");
[47] Fix | Delete
[48] Fix | Delete
MT('directives',
[49] Fix | Delete
"[def @include] [qualifier .mixin]");
[50] Fix | Delete
[51] Fix | Delete
MT('basic_structure',
[52] Fix | Delete
"[tag p] { [property background]:[keyword red]; }");
[53] Fix | Delete
[54] Fix | Delete
MT('nested_structure',
[55] Fix | Delete
"[tag p] { [tag a] { [property color]:[keyword red]; } }");
[56] Fix | Delete
[57] Fix | Delete
MT('mixin',
[58] Fix | Delete
"[def @mixin] [tag table-base] {}");
[59] Fix | Delete
[60] Fix | Delete
MT('number_without_semicolon',
[61] Fix | Delete
"[tag p] {[property width]:[number 12]}",
[62] Fix | Delete
"[tag a] {[property color]:[keyword red];}");
[63] Fix | Delete
[64] Fix | Delete
MT('atom_in_nested_block',
[65] Fix | Delete
"[tag p] { [tag a] { [property color]:[atom #000]; } }");
[66] Fix | Delete
[67] Fix | Delete
MT('interpolation_in_property',
[68] Fix | Delete
"[tag foo] { #{[variable-2 $hello]}:[number 2]; }");
[69] Fix | Delete
[70] Fix | Delete
MT('interpolation_in_selector',
[71] Fix | Delete
"[tag foo]#{[variable-2 $hello]} { [property color]:[atom #000]; }");
[72] Fix | Delete
[73] Fix | Delete
MT('interpolation_error',
[74] Fix | Delete
"[tag foo]#{[variable foo]} { [property color]:[atom #000]; }");
[75] Fix | Delete
[76] Fix | Delete
MT("divide_operator",
[77] Fix | Delete
"[tag foo] { [property width]:[number 4] [operator /] [number 2] }");
[78] Fix | Delete
[79] Fix | Delete
MT('nested_structure_with_id_selector',
[80] Fix | Delete
"[tag p] { [builtin #hello] { [property color]:[keyword red]; } }");
[81] Fix | Delete
[82] Fix | Delete
MT('indent_mixin',
[83] Fix | Delete
"[def @mixin] [tag container] (",
[84] Fix | Delete
" [variable-2 $a]: [number 10],",
[85] Fix | Delete
" [variable-2 $b]: [number 10])",
[86] Fix | Delete
"{}");
[87] Fix | Delete
[88] Fix | Delete
MT('indent_nested',
[89] Fix | Delete
"[tag foo] {",
[90] Fix | Delete
" [tag bar] {",
[91] Fix | Delete
" }",
[92] Fix | Delete
"}");
[93] Fix | Delete
[94] Fix | Delete
MT('indent_parentheses',
[95] Fix | Delete
"[tag foo] {",
[96] Fix | Delete
" [property color]: [atom darken]([variable-2 $blue],",
[97] Fix | Delete
" [number 9%]);",
[98] Fix | Delete
"}");
[99] Fix | Delete
[100] Fix | Delete
MT('indent_vardef',
[101] Fix | Delete
"[variable-2 $name]:",
[102] Fix | Delete
" [string 'val'];",
[103] Fix | Delete
"[tag tag] {",
[104] Fix | Delete
" [tag inner] {",
[105] Fix | Delete
" [property margin]: [number 3px];",
[106] Fix | Delete
" }",
[107] Fix | Delete
"}");
[108] Fix | Delete
})();
[109] Fix | Delete
[110] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function