Update modelist.html
This commit is contained in:
parent
28c810bbce
commit
ae3770b38e
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@
|
|||
// set the editor mode. Webmasters could use it in their scripts
|
||||
// for site specific purposes as well.
|
||||
var filePath = 'blahblah/weee/some.js';
|
||||
var mode = modelist.getModeFromPath(filePath).mode;
|
||||
var mode = modelist.getModeForPath(filePath).mode;
|
||||
console.log(mode);
|
||||
editor.session.setMode(mode);
|
||||
}());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue