Permalink
Browse files

updated example.

  • Loading branch information...
swannodette committed Oct 26, 2009
1 parent e074800 commit e4f0d2937e33cbcaff3a355c59490b2f4d63c906
Showing with 3 additions and 3 deletions.
  1. +3 −3 examples/exampleA.js
View
@@ -89,7 +89,7 @@ function example5()
var example6 = function()
{
return get("a");
-}.decorate(promise, memoize);
+}.decorate(promise, Function.memoize);
// Preconditions
// =============
@@ -114,12 +114,12 @@ var oddEven = [odd, even];
var add2 = function(a, b)
{
return a + b;
-}.decorate(promise, pre(evenOdd, true))
+}.decorate(promise, Function.pre(evenOdd, true))
var add3 = function(a, b)
{
return a + b;
-}.decorate(promise, pre(evenOdd, console.log))
+}.decorate(promise, Function.pre(evenOdd, console.log))
function example7()
{

0 comments on commit e4f0d29

Please sign in to comment.