Update the compiler to reflect the latest changes in the library.
This commit is contained in:
Jonathan Protzenko 2015-05-26 10:09:30 -07:00
Родитель c98fb37af2
Коммит 5310f15397
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -768,7 +768,7 @@ function compileBuildImage(e: Environment, b: B.Block, big: boolean): J.JCall {
state += /TRUE/.test(b.getFieldValue("LED" + j + i)) ? "1" : "0"; state += /TRUE/.test(b.getFieldValue("LED" + j + i)) ? "1" : "0";
} }
} }
return H.stdCall("make image", [H.mkStringLiteral(state)]); return H.stdCall("create image", [H.mkStringLiteral(state)]);
} }
interface Param { interface Param {
@ -835,7 +835,7 @@ var stdCallTable: { [blockType: string]: StdFunc } = {
args: [] args: []
}, },
device_make_StringImage: { device_make_StringImage: {
f: p("make string image", Type.Image), f: p("create image from string", Type.Image),
args: [ p("NAME", Type.String) ] args: [ p("NAME", Type.String) ]
}, },
device_scroll_image: { device_scroll_image: {