Skip to content

Commit c97414d

Browse files
committed
Merge branch 'master' of github.com:yeuai/botscript into master
2 parents 52e733a + e143185 commit c97414d

File tree

16 files changed

+6886
-4322
lines changed

16 files changed

+6886
-4322
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Use Node.js 10.x
13+
- name: Use Node.js 16.x
1414
uses: actions/setup-node@v2
1515
with:
16-
node-version: 10.x
16+
node-version: 16.x
1717
- run: npm install
1818
- run: npx rimraf docs
1919
- run: npm run build:web
@@ -22,4 +22,4 @@ jobs:
2222
with:
2323
github_token: ${{ secrets.GITHUB_TOKEN }}
2424
publish_dir: ./docs
25-
cname: botscript.yeu.ai
25+
# cname: botscript.yeu.ai

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ typings/
6262

6363
# Output
6464
dist
65+
docs
6566
#docs
6667
test.ts
6768
*.test.ts

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,8 @@ Example:
560560

561561
### Directive /plugin
562562

563-
A plugin is compiled in the script document and one defined in a directive:
563+
A plugin uses available context params: `({ req, ctx, utils, logger })`
564+
A plugin is compiled in the script document and one defined in a directive:
564565

565566
Syntax:
566567

demo.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
99
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">
1010
<!--link app scripts-->
11-
<script src="https://botscript.yeu.ai/botscript.ai.js"></script>
12-
<script src="https://botscript.yeu.ai/botscript.plugins.js"></script>
11+
<script src="botscript.ai.js"></script>
12+
<script src="botscript.plugins.js"></script>
1313
</head>
1414

1515
<body>
@@ -19,7 +19,8 @@
1919
<h1 class="display-3">Hello, BotScript!</h1>
2020
<p>A text-based scripting language, dialog system and bot engine for Conversational User Interfaces</p>
2121
<p>
22-
<a class="btn-primary btn-lg" href="https://yeu.ai/#/register" target="_blank">Register Now &raquo;</a>
22+
<a class="btn-primary btn-lg" href="https://botscript-ai.web.app/#/register" target="_blank">Register Now
23+
&raquo;</a>
2324
<iframe src="https://ghbtns.com/github-btn.html?user=yeuai&repo=botscript&type=star&count=true&size=large"
2425
frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
2526
</p>

0 commit comments

Comments
 (0)