kopia lustrzana https://github.com/c9/core
fix emmet in ejs mode
rodzic
0abbb60735
commit
172dba514e
|
@ -411,7 +411,7 @@ exports.isAvailable = function(editor, command) {
|
|||
// TODO refactor mode delegates to make this simpler
|
||||
try {
|
||||
editorProxy.setupContext(editor);
|
||||
if (/js|php/.test(editorProxy.getSyntax()))
|
||||
if (/^(js|php)/.test(editorProxy.getSyntax()))
|
||||
isSupported = false;
|
||||
} catch(e) {}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue