CodeMirror addons not working In node-webkit only

0 views
Skip to first unread message

uMinded Strikes Again

unread,
Jan 24, 2013, 7:24:42 PM1/24/13
to node-...@googlegroups.com
I started with a copy of the "mini-code-editor" example provided in the README.md at the github page.

I have upgraded CodeMirror to 0.3.0 and I have created two examples. One is an HTML that loads a .js file with the CodeMirror call and the other set of files contain the same call but has all the supporting function of the mini-code-editor. My problem is if I load the mini-code-editor in google chrome the buttons do not work and no codemirror instance is shown as chrome doesn't understand things like the requires('fs'); My simple version of the same page does work in chrome but not in node-webkit as it has none of the other functions like onload.

I believe this would be a node-webkit question as I can get CodeMirror working as it should, just not in node...

Anybody have any experience with these two in combination? If someone does then I will post again with the very specifics of the issues.

Thanks!
Reply all
Reply to author
Forward
0 new messages