Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function doCompile () {
console.log('doCompile: text:\n', text)
// $1 exploits the fact that Either values are always placed in $1 and in this case both
// branches of the Either return strings
var g = Typedefs.generateTermSerializers(targetLang, text)
var g = Typedefs.generateTermSerialisers(targetLang, text)
var generated = (g.type == 0 ? Typedefs.generateType(targetLang, text) : g ).$1

console.log('generated =', generated)
Expand Down
2 changes: 1 addition & 1 deletion src/typedefs-index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// this allows us to bundle Typedefs javascript module and exposes it as a
// global variable so we can use it from the browser.
window.Typedefs = require('typedefs')
window.Typedefs = require('./typedefs-local.js')
Loading