Run literate

This commit is contained in:
Geoffrey Booth
2016-11-29 18:33:18 -08:00
parent 8c8ebf874a
commit faab9330e9

View File

@@ -93,6 +93,8 @@ arrayEqual = (a, b) ->
for test in document.getElementsByClassName 'test'
say '\u2714 ' + test.id
try
options = {}
options.literate = yes if test.type is 'text/x-literate-coffeescript'
CoffeeScript.run test.innerHTML
catch error
console.error error