annotate default/node_modules/shoestring/test/console.html @ 0:1d038bc9b3d2 default tip

Up:default
author Liny <dev@neowd.com>
date Sat, 31 May 2025 09:21:51 +0800
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
1 <!doctype html>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
2 <html>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
3 <head>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
4 <script src="../dist/shoestring-dev.js"></script>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
5 <script>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
6 console.log( "oh hai.\n\nyou can play with shoestring in here. check shoestring.fn to see what other methods are available. try this first:\n\nshoestring( \"p\" ).addClass( \"foo\" ).html( \"whoa.\" );" );
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
7 </script>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
8 <style>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
9 p { background: #fff; font-family: sans-serif; }
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
10 p.foo { background: green; padding: 2em; font-size: 1.5em; color: #fff; -webkit-transition: all 1s elastic; }
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
11 </style>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
12 </head>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
13 <body>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
14 <p>hey buddy. check the JS console.</p>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
15 <div id="foo"></div>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
16 <div id="bar"></div>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
17 </body>
1d038bc9b3d2 Up:default
Liny <dev@neowd.com>
parents:
diff changeset
18 </html>