Skip to content

Commit

Permalink
Merge pull request chuanxshi#61 from DrColossos/fix-missing-functions
Browse files Browse the repository at this point in the history
Added both functions that are responsible for the output
  • Loading branch information
chuanxshi committed Aug 13, 2012
2 parents 728c21d + 71e2221 commit 88825c2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion jquery-patterns/pubsub-callback.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
return topic;
};

function fn1( value ){
console.log( value );
}

function fn2( value ){
fn1("fn2 says:" + value);
return false;
}

// Usage:
// Subscribers
Expand All @@ -56,4 +64,4 @@
// https://gist.github.com/1321768
</script>
</body>
</html>
</html>

0 comments on commit 88825c2

Please sign in to comment.