remove dependencies on dal.d.ts
This commit is contained in:
parent
a59d148eb5
commit
086bcf372f
@ -42,6 +42,5 @@ namespace control {
|
|||||||
* Display warning in the simulator.
|
* Display warning in the simulator.
|
||||||
*/
|
*/
|
||||||
//% shim=pxtrt::runtimeWarning
|
//% shim=pxtrt::runtimeWarning
|
||||||
export function runtimeWarning(message: string) {
|
export function runtimeWarning(message: string) { }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/// <reference path="../../node_modules/pxt-core/typings/bluebird/bluebird.d.ts"/>
|
/// <reference path="../node_modules/pxt-core/typings/bluebird/bluebird.d.ts"/>
|
||||||
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
/// <reference path="../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
||||||
/// <reference path="../../node_modules/pxt-core/built/pxtrunner.d.ts"/>
|
/// <reference path="../node_modules/pxt-core/built/pxtrunner.d.ts"/>
|
||||||
/// <reference path="../visuals/genericboard.ts"/>
|
/// <reference path="visuals/genericboard.ts"/>
|
||||||
/// <reference path="../visuals/wiring.ts"/>
|
/// <reference path="visuals/wiring.ts"/>
|
||||||
|
|
||||||
//HACK: allows instructions.html to access pxtblocks without requiring simulator.html to import blocks as well
|
//HACK: allows instructions.html to access pxtblocks without requiring simulator.html to import blocks as well
|
||||||
if (!(<any>window).pxt) (<any>window).pxt = {};
|
if (!(<any>window).pxt) (<any>window).pxt = {};
|
@ -1,6 +1,5 @@
|
|||||||
/// <reference path="../node_modules/pxt-core/typings/bluebird/bluebird.d.ts"/>
|
/// <reference path="../node_modules/pxt-core/typings/bluebird/bluebird.d.ts"/>
|
||||||
/// <reference path="../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
/// <reference path="../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
||||||
/// <reference path="../libs/microbit/dal.d.ts"/>
|
|
||||||
|
|
||||||
namespace pxsim {
|
namespace pxsim {
|
||||||
export type BoardPin = string;
|
export type BoardPin = string;
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/// <reference path="../../node_modules/pxt-core/typings/bluebird/bluebird.d.ts"/>
|
/// <reference path="../../node_modules/pxt-core/typings/bluebird/bluebird.d.ts"/>
|
||||||
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
||||||
/// <reference path="../../libs/microbit/dal.d.ts"/>
|
|
||||||
|
|
||||||
namespace pxsim.visuals {
|
namespace pxsim.visuals {
|
||||||
export const BOARD_SYTLE = `
|
export const BOARD_SYTLE = `
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/// <reference path="../../node_modules/pxt-core/typings/bluebird/bluebird.d.ts"/>
|
/// <reference path="../../node_modules/pxt-core/typings/bluebird/bluebird.d.ts"/>
|
||||||
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
|
||||||
/// <reference path="../../libs/microbit/dal.d.ts"/>
|
|
||||||
|
|
||||||
namespace pxsim.visuals {
|
namespace pxsim.visuals {
|
||||||
export function mkLedMatrixSvg(xy: Coord, rows: number, cols: number):
|
export function mkLedMatrixSvg(xy: Coord, rows: number, cols: number):
|
||||||
|
Loading…
Reference in New Issue
Block a user