Skip to content

Commit

Permalink
Update Playground
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Jul 2, 2023
1 parent e080168 commit d7688b1
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions playground/index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>Current.js Playground</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

<meta name="current-environment" content="production">
<meta name="current-user-id" content="123">
<meta name="current-user-time-zone-name" content="Central Time (US & Canada)">

<script type="module" src="/index.js"></script>
</head>

<body></body>
<script type="module">
Current.environment
// => "production"

Current.user
// => { id: "123", timeZoneName: "Central Time (US & Canada)" }

Current.foo
// => {}
</script>
</head>
</html>

0 comments on commit d7688b1

Please sign in to comment.