minor cleanup
This commit is contained in:
parent
0a14ad9fbb
commit
532b8c6d18
1 changed files with 5 additions and 5 deletions
|
|
@ -45,8 +45,8 @@ var TextHighlightRules = require("ace/mode/text_highlight_rules").TextHighlightR
|
|||
|
||||
var PhpHighlightRules = function() {
|
||||
|
||||
var builtinFunctions = lang.arrayToMap(
|
||||
('abs|acos|acosh|addcslashes|addslashes|aggregate|aggregate_info|aggregate_methods|' +
|
||||
var builtinFunctions = lang.arrayToMap(
|
||||
('abs|acos|acosh|addcslashes|addslashes|aggregate|aggregate_info|aggregate_methods|' +
|
||||
'aggregate_methods_by_list|aggregate_methods_by_regexp|aggregate_properties|aggregate_properties_by_list|' +
|
||||
'aggregate_properties_by_regexp|aggregation_info|apache_child_terminate|apache_get_modules|' +
|
||||
'apache_get_version|apache_getenv|apache_lookup_uri|apache_note|apache_request_headers|' +
|
||||
|
|
@ -433,8 +433,8 @@ var PhpHighlightRules = function() {
|
|||
'yp_err_string|yp_errno|yp_first|yp_get_default_domain|yp_master|yp_match|yp_next|yp_order|zend_logo_guid|zend_version|zip_close|' +
|
||||
'zip_entry_close|zip_entry_compressedsize|zip_entry_compressionmethod|zip_entry_filesize|zip_entry_name|zip_entry_open|zip_entry_read|' +
|
||||
'zip_open|zip_read|zlib_get_coding_type').split('|')
|
||||
);
|
||||
|
||||
);
|
||||
|
||||
var keywords = lang.arrayToMap(
|
||||
('abstract|and|array|as|break|case|catch|cfunction|class|clone|const|continue|declare|default|die|do|' +
|
||||
'else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|final|for|foreach|function|' +
|
||||
|
|
@ -602,4 +602,4 @@ var PhpHighlightRules = function() {
|
|||
oop.inherits(PhpHighlightRules, TextHighlightRules);
|
||||
|
||||
exports.PhpHighlightRules = PhpHighlightRules;
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue