Permalink
Browse files

Make the functions slightly more descriptive.

  • Loading branch information...
1 parent 5c1993b commit 6c0bc70040936d9ddb109211e9a66edcfbfd4411 @creationix creationix committed Oct 9, 2010
Showing with 3 additions and 3 deletions.
  1. +2 −2 articles/object-graphs/closure.dot
  2. +1 −1 articles/object-graphs/functions.dot
@@ -13,8 +13,8 @@ digraph finite_state_machine {
/* Function Objects */
node [shape = Mrecord, fillcolor=orange, style=filled];
- fn1 [label="<__proto__>[Function]|<__scope__>[scope]"];
- fn2 [label="<__proto__>[Function]|<__scope__>[scope]"];
+ fn1 [label="<__proto__>[Function ()]|\{return name\}|<__scope__>[scope]"];
+ fn2 [label="<__proto__>[Function ()]|\{return name\}|<__scope__>[scope]"];
/* Literals */
node [shape = plaintext, fillcolor=gray92, style="filled,rounded"];
@@ -14,7 +14,7 @@ digraph finite_state_machine {
/* Function Objects */
node [shape = Mrecord, fillcolor=orange, style=filled];
- fn1 [label="<__proto__>function () \{ return this.name; \}"];
+ fn1 [label="<__proto__>[Function ()]|\{return this.name\}"];
/* Literals */
node [shape = plaintext, fillcolor=gray92, style="filled,rounded"];

0 comments on commit 6c0bc70

Please sign in to comment.