Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6
/* global ace */ export default function getModeByFileExtension(path) { const modelist = ace.require('ace/ext/modelist'); return modelist.getModeForPath(path).mode; }