add snippet editor to the demo

This commit is contained in:
nightwing 2013-03-19 18:27:09 +04:00
commit 19ea0fe979
9 changed files with 274 additions and 142 deletions

View file

@ -54,6 +54,7 @@ function initDoc(file, path, doc) {
var mode = modelist.getModeFromPath(path);
session.modeName = mode.name;
session.setMode(mode.mode);
return session;
}