public
Description: Fluent programming (chained method calls) for JavaScript.
Homepage: http://osteele.com/sources/javascript/fluently/
Clone URL: git://github.com/osteele/fluently.git
hopkit -> fluently
osteele (author)
Wed Jan 23 11:09:32 -0800 2008
commit  e3ddceb4fee0aad4219df79e2f19eef13f1476a7
tree    8e60d9cf31b1e1d4f075d049c0e0d8c79d169571
parent  28dc542b6235b389715c4a4a805662cc8a36e7ea
...
87
88
89
90
 
91
92
93
...
87
88
89
 
90
91
92
93
0
@@ -87,7 +87,7 @@ JSSpec.Runner = function(target, name) {
0
 JSSpec.calling = function(target, name) {
0
     var runner = JSSpec.Runner.apply(JSSpec.Runner, arguments),
0
         options = runner._options,
0
- runner = HopKit.make(function(define) {
0
+ runner = Fluently.make(function(define) {
0
             define('run', runner.run),
0
             define('call', runner.call);
0
             define('change', runner.change);
...
144
145
146
147
 
148
149
150
...
144
145
146
 
147
148
149
150
0
@@ -144,7 +144,7 @@ function MockObject(master) {
0
                 };
0
             expectations.push(expectation);
0
 
0
- return HopKit.make(function(define) {
0
+ return Fluently.make(function(define) {
0
                 define('calls', calls),
0
                 define('returns', returns);
0
                 define.alias('calls.back', 'calls');
...
5
6
7
8
 
9
10
11
...
5
6
7
 
8
9
10
11
0
@@ -5,7 +5,7 @@ function reset() {
0
     v2.set(null);
0
 }
0
 
0
-var object = HopKit.make(function(define) {
0
+var object = Fluently.make(function(define) {
0
     define('v1', function(v) {v1.set(v)}),
0
     define('v11', function() {v1.set(1)}),
0
     define('v12', function() {v1.set(2)});

Comments

    No one has commented yet.