This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/python/yap_kernel/#kernel.js#
2018-03-26 11:03:08 +01:00

26 lines
521 B
Plaintext

define("codemirror/lib/codemirror" ]
pecs/yap_kernel/prolog"
],
function(CodeMirror){
var onload =
function(CodeMirror){
console.log("I am being loaded");
editor = CodeMirror.fromTextArea(document.getElementById("code"), {
parserfile: "kernelspecs/yap_kernel/prolog.js"
lineNumbers: true,
mode: "text/x-prolog"
});
return {onload:onload}
}
}
);