From a7114686aa0d922d6f6aec7e2083908dc912a6d8 Mon Sep 17 00:00:00 2001 From: Niklas Mollenhauer Date: Sat, 8 Nov 2014 01:15:15 +0100 Subject: [PATCH] Update tests to use require() --- node-webkit/node-webkit-tests.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/node-webkit/node-webkit-tests.ts b/node-webkit/node-webkit-tests.ts index da10f2901..fab532d36 100644 --- a/node-webkit/node-webkit-tests.ts +++ b/node-webkit/node-webkit-tests.ts @@ -1,7 +1,9 @@ /// /// + // Load native UI library -var gui: typeof nw.gui; +// See docs: https://github.com/rogerwang/node-webkit/wiki/Shell +import gui = require("nw.gui"); /* WINDOW */