[sage-support] Re: Sagecell not running in moodle pages

2015-07-11 Thread Jason Grout
On 7/11/15 04:47, Volker Braun wrote: TL;DR: JS does not have some feature (in this case: modules) so there are 5 different and mutually incompatible ways to do it. All of them broken in funny ways... Luckily, es6 javascript has modules, so hopefully at least some of the funny things will be c

[sage-support] Re: Sagecell not running in moodle pages

2015-07-11 Thread Volker Braun
The relevant error is: Uncaught Error: Mismatched anonymous define() module: function (CodeMirror) {... See http://requirejs.org/docs/errors.html#mismatch This is probably because CodeMirror insists on defining an anonymous module in the presence of requirejs, you might get away with just dele