We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e241d20 commit 83a4748Copy full SHA for 83a4748
noeval.html
@@ -0,0 +1,24 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width">
6
+ <title>Sno - No Eval</title>
7
+ <link rel="icon" type="image/x-icon" href="https://avatars.githubusercontent.com/u/149719209?s=200&v=4"/>
8
+ <script src="https://snojs.github.io/petite-sno/noeval/min.js"></script>
9
+ <link rel="stylesheet" href="https://guyotjs.github.io/bcss/bc.css"/>
10
+</head>
11
+<body>
12
+ <div class="true-center text-center">
13
+ <p id="count" class="f-xl"></p>
14
+ <button onclick="add()" class="p bg-white border-gray r">+</button>
15
+ </div>
16
+ <script>
17
+ let count = 0;
18
+ function add(){
19
+ count = $set(count+1);
20
+ }
21
+ $scope(()=>{return count},"count");
22
+ </script>
23
+</body>
24
+</html>
0 commit comments