Permalink
Browse files

Added both functions that are responsible for the output

  • Loading branch information...
1 parent 728c21d commit 71e22217e23ec2a909d07ae7c01812a7213ba0d6 Dominik Svatos committed Aug 13, 2012
Showing with 9 additions and 1 deletion.
  1. +9 −1 jquery-patterns/pubsub-callback.html
@@ -30,6 +30,14 @@
return topic;
};
+ function fn1( value ){
+ console.log( value );
+ }
+
+ function fn2( value ){
+ fn1("fn2 says:" + value);
+ return false;
+ }
// Usage:
// Subscribers
@@ -56,4 +64,4 @@
// https://gist.github.com/1321768
</script>
</body>
-</html>
+</html>

0 comments on commit 71e2221

Please sign in to comment.