From 6fb04e64bc995a9bc2d9e813d045c4562f91b891 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 27 Jul 2020 11:34:28 +0900 Subject: [PATCH] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3a0cdde..ef36224 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ WelsonJS - Build a Windows desktop apps with JavaScript, HTML, and CSS based on - lib/timer (`setTimeout` implementation for not supported environment) - lib/powershell (Windows Powershell interface) - lib/service (Windows Service interface) -- lib/oldbrowser (Compatibility interface) +- lib/oldbrowser (HTML/JS/CSS interface) - lib/uri (URI scheme interface) - lib/autohotkey ([AutoHotKey](https://catswords.re.kr/go/autohotkey) interface) - lib/autoit3 ([AutoIt3](https://catswords.re.kr/go/autoit3) interface) @@ -48,10 +48,8 @@ exports.say = function() { ### 2. Write a file `sayhello.js` ``` var sayhello = require("lib/sayhello-lib"); -return { - main: function() { - sayhello.say(); - } +exports.main = function() { + sayhello.say(); }; ```