iros/deck.js-codemirror — pull request #25 by dvberkel (2013-06-19 11:29:17+00:00)
Title: select code evaluator depending on mode

I have come to rely on running code samples in presentations. Unfortunately currently only evaluating JavaScript code is supported.

This change allows different evaluators to be configured by setting appropriate options. E.g.

```javascript
$.deck.defaults.evaluatorFactoryFor['ruby'] = function(editor, output){
// retrieve result of execution of code via delegation to a server
output.html(result);
}
```

Which would enable 'running' Ruby code.