File: 0895.html

package info (click to toggle)
web-mode 17.3.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,164 kB
  • sloc: lisp: 13,359; javascript: 506; jsp: 113; sh: 10; php: 9; makefile: 8; xml: 2
file content (29 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <script src="http://cdn.opalrb.org/opal/current/opal.js"></script>
    <script src="http://cdn.opalrb.org/opal/current/opal-parser.js"></script>
    <script type="text/javascript">Opal.load('opal-parser')</script>
  </head>
  <body>
    <script type="text/ruby">
     puts "hiss"
     $i = 0
     $num = 5
     while $i < $num  do
       puts("Inside the loop i = #$i" )
       $i +=1
     end
    </script>
    <script type="text/ruby">
     class Helloworld < Hyperloop::Component
       def render
         DIV do
           "hello world !"
         end
       end
     end
    </script>
  </body>
</html>