Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
victorekpo committed Jul 13, 2024
1 parent b0837d6 commit f517a76
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/assets/partials.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/src/utils/hbsAsyncHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const registerHBHelper = () => registerAsyncHelper(Handlebars,'asyncTest'
return new Promise((resolve, reject) => {
setTimeout(
function() {
resolve(`Async render with params: ${options.hash.name} || ${options.hash.age}`)
resolve(`Async render with params: ${options.hash.name}`)
},
200
);
Expand Down
2 changes: 1 addition & 1 deletion client/src/views/pages/body.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<strong>Your name:</strong> {{name}}
</p>

<pre>{{asyncTest name='Vic Tester' age=38}}</pre>
<pre>{{asyncTest name='Vic Tester'}}</pre>

</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion client/wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name = "tech"
account_id = "**********"
workers_dev = true
compatibility_date = "2024-07-11"
compatibility_date = "2024-07-11"

[build]
command="npm run build"
watch_dir="views/"

0 comments on commit f517a76

Please sign in to comment.