Skip to content

Commit

Permalink
Make the functions slightly more descriptive.
Browse files Browse the repository at this point in the history
  • Loading branch information
creationix committed Oct 9, 2010
1 parent 5c1993b commit 6c0bc70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions articles/object-graphs/closure.dot
Expand Up @@ -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"];
Expand Down
2 changes: 1 addition & 1 deletion articles/object-graphs/functions.dot
Expand Up @@ -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"];
Expand Down

0 comments on commit 6c0bc70

Please sign in to comment.