Changeset 9 for trunk

Show
Ignore:
Timestamp:
04/05/06 02:40:58 (3 years ago)
Author:
scottmc
Message:

Added CuIRC

Location:
trunk
Files:
15 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/sagot/tests/test.js

    r7 r9  
    44var loop = new EventLoop () 
    55 
    6 function hello (foo) { 
    7     print(foo) 
     6var test = { 
     7    foo: "Foo...", 
     8    bar: function () {  
     9        print("Word up") 
     10        print(this.foo)  
     11    } 
    812} 
    913 
    10  
    11 loop.yield(hello, "Hello World") 
    12 loop.yield(hello, "Hello World") 
    13 loop.yield(hello, "Hello World") 
    14 loop.yield(hello, "Hello World") 
    15 loop.yield(hello, "Hello World") 
     14loop.yield(test.bar, "") 
    1615 
    1716loop.run()