Blockly compiler.
Update the compiler to reflect the latest changes in the library.
This commit is contained in:
Родитель
c98fb37af2
Коммит
5310f15397
|
@ -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: {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче