public
Description: assorted codes
Clone URL: git://github.com/jorrel/codes.git
minor changes
jorrel (author)
Thu May 01 08:57:39 -0700 2008
commit  9c2647846ff3e828de6fd78f60f55fc5f0ccf68b
tree    35ea90279ad08118d3bb4e8721f878f23f3ef1a4
parent  99b5ad89479b1758859098905b6f83342c9cd8fe
...
1
2
3
4
 
5
6
7
8
9
 
10
11
12
...
1
2
3
 
4
5
6
7
 
8
9
10
11
12
0
@@ -1,12 +1,12 @@
0
 require 'rubygems'
0
 
0
 # because shoes uses its own ruby, we need to specify this
0
-# TODO: remove active_support dependency (this slows down the app anyway)
0
+# TODO: remove active_support dependency
0
 $: << '/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib'
0
 $: << '/usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support'
0
 $: << '/usr/lib/ruby/1.8'
0
-
0
 require 'active_support'
0
+
0
 require 'timeout'
0
 
0
 class Array
...
18
19
20
21
 
22
23
24
 
25
26
27
...
18
19
20
 
21
22
23
 
24
25
26
27
0
@@ -18,10 +18,10 @@ Shoes.app(:width => 520, :height => 550) {
0
             stack(:width => 50) {
0
               @cells[i][j] = edit_line :width=> 50, :height => 50
0
             }
0
- stack(:width => 20) { } if d == 2 && j != 8
0
+ stack(:width => 20) { } if d == 2 && j != 8 # vertical separator
0
           }
0
         }
0
- stack(:width => '100%') { para '' } if b == 2 && a != 2
0
+ stack(:width => '100%') { para '' } if b == 2 && a != 2 # horizontal separator
0
       }
0
     }
0
 

Comments

    No one has commented yet.