File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments