duckduckgo/zeroclickinfo-spice — pull request #334 by jmg (2013-11-16 02:17:25+00:00)
Title: Editor: ace integration

I don't know if this is the best way to do it but I implemented this idea:

https://dukgo.com/ideas/idea/350/code-editor

There are something I couldn't do in the right way so I made some kind of hacks.

- First I needed to render html but a perl goodie doesn't allow that so I made a spice. I don't need to make a http request but I couldn't find a way to avoid using a spice_to url. So I'm making a dummy request.
- Second I had to include some js files that belong to the ace editor (https://github.com/ajaxorg/ace). I used the function "nrj" which is not documented but it worked for loading the library.

Let me know if there is a better way of doing this and if this is a viable idea.

Thanks!

![python ace editor](https://f.cloud.github.com/assets/331423/1555489/2675955e-4e65-11e3-8b74-2699a323032b.png)