From 1eacceaab3850cc8609d3ddbec58623679b228d7 Mon Sep 17 00:00:00 2001 From: Michael Randolph Date: Wed, 9 Sep 2015 15:56:00 -0400 Subject: [PATCH] Updated node-jsfl-runner to 0.2.4 --- node-jsfl-runner/node-jsfl-runner-tests.ts | 4 +++- node-jsfl-runner/node-jsfl-runner.d.ts | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/node-jsfl-runner/node-jsfl-runner-tests.ts b/node-jsfl-runner/node-jsfl-runner-tests.ts index f92f4bfde..31202b9f7 100644 --- a/node-jsfl-runner/node-jsfl-runner-tests.ts +++ b/node-jsfl-runner/node-jsfl-runner-tests.ts @@ -8,11 +8,13 @@ let myJSFL: jsfl.JSFL = { } } +let flashLocation: string = ''; + jsfl.createJSFL(myJSFL, 'fileName.jsfl', ['Hello!'], (err: NodeJS.ErrnoException) => { }); -jsfl.runJSFL('fileName.jsfl', (err: NodeJS.ErrnoException) => { +jsfl.runJSFL(flashLocation, 'fileName.jsfl', (err: NodeJS.ErrnoException) => { }); diff --git a/node-jsfl-runner/node-jsfl-runner.d.ts b/node-jsfl-runner/node-jsfl-runner.d.ts index b3f0a8688..f1d11561a 100644 --- a/node-jsfl-runner/node-jsfl-runner.d.ts +++ b/node-jsfl-runner/node-jsfl-runner.d.ts @@ -1,4 +1,4 @@ -// Type definitions for node-jsfl-runner +// Type definitions for node-jsfl-runner v0.2.4 // Project: https://www.npmjs.com/package/node-jsfl-runner // Definitions by: Michael Randolph // Definitions: https://github.com/borisyankov/DefinitelyTyped @@ -28,8 +28,9 @@ declare module "node-jsfl-runner" { /** * Runs a JSFL file + * @param flashLocation Path to Flash executable * @param fileName Path to JSFL file to run * @param callback Callback */ - function runJSFL(fileName: string, callback: (err: NodeJS.ErrnoException) => void): void; + function runJSFL(flashLocation:string, fileName: string, callback: (err: NodeJS.ErrnoException) => void): void; } \ No newline at end of file