+
+ Your program is uploading to your target, please wait.
+ Do not unplug your board, do not close this tab nor change tab during uploading.
+
+
+
+
+
+
+
+
`;
+
+ container.appendChild(content);
+ body.appendChild(container);
+
+ const manyAny = Math as any;
+ if (!manyAny.imul)
+ manyAny.imul = function (a: number, b: number): number {
+ const ah = (a >>> 16) & 0xffff;
+ const al = a & 0xffff;
+ const bh = (b >>> 16) & 0xffff;
+ const bl = b & 0xffff;
+ // the shift by 0 fixes the sign on the high part
+ // the final |0 converts the unsigned value into a signed value
+ return (al * bl + (((ah * bl + al * bh) << 16) >>> 0)) | 0;
+ };
-pxt.editor.initExtensionsAsync = function (opts: pxt.editor.ExtensionOptions): Promise