|
Lines 54-66
define("orion/editor/stylers/application_javascript/syntax", ["orion/editor/styl
Link Here
|
| 54 |
begin: "'(?:\\\\.|[^\\\\'])*\\\\$", |
54 |
begin: "'(?:\\\\.|[^\\\\'])*\\\\$", |
| 55 |
end: "^(?:$|(?:\\\\.|[^\\\\'])*('|[^\\\\]$))", |
55 |
end: "^(?:$|(?:\\\\.|[^\\\\'])*('|[^\\\\]$))", |
| 56 |
name: "string.quoted.single.js" |
56 |
name: "string.quoted.single.js" |
| 57 |
}, { |
57 |
}, |
|
|
58 |
{ |
| 58 |
begin: '"(?:\\\\.|[^\\\\"])*\\\\$', |
59 |
begin: '"(?:\\\\.|[^\\\\"])*\\\\$', |
| 59 |
end: '^(?:$|(?:\\\\.|[^\\\\"])*("|[^\\\\]$))', |
60 |
end: '^(?:$|(?:\\\\.|[^\\\\"])*("|[^\\\\]$))', |
| 60 |
name: "string.quoted.double.js" |
61 |
name: "string.quoted.double.js" |
| 61 |
}, |
62 |
}, |
|
|
63 |
{ |
| 64 |
begin: '"(?:\\\\.|[^\\\\`])*\\\\$', |
| 65 |
end: '^(?:$|(?:\\\\.|[^\\\\`])*(`|[^\\\\]$))', |
| 66 |
name: "string.quoted.backtick.js" |
| 67 |
}, |
| 62 |
{include: "orion.lib#string_doubleQuote"}, |
68 |
{include: "orion.lib#string_doubleQuote"}, |
| 63 |
{include: "orion.lib#string_singleQuote"}, |
69 |
{include: "orion.lib#string_singleQuote"}, |
|
|
70 |
{include: "orion.lib#string_backtickQuote"}, |
| 71 |
|
| 64 |
{include: "orion.c-like#comment_singleLine"}, |
72 |
{include: "orion.c-like#comment_singleLine"}, |
| 65 |
{ |
73 |
{ |
| 66 |
match: "/(?![\\s\\*])(?:\\\\.|[^/])+/(?:[gim]{0,3})", |
74 |
match: "/(?![\\s\\*])(?:\\\\.|[^/])+/(?:[gim]{0,3})", |