Permalink
Browse files

tiny fix for function names

  • Loading branch information...
1 parent 897e2cc commit 04bb7f2f8bf892d822ea984dfae6d134f303f5f7 @substack committed Feb 11, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 index.js
  2. +1 −1 package.json
View
@@ -223,8 +223,8 @@ function difflet (opts, prev, next) {
}
else if (typeof node === 'function') {
write(node.name
- ? '[Function]'
- : '[Function: ' + node.name + ']'
+ ? '[Function: ' + node.name + ']'
+ : '[Function]'
);
}
else {
View
@@ -1,7 +1,7 @@
{
"name" : "difflet",
"description" : "colorful diffs for javascript objects",
- "version" : "0.0.0",
+ "version" : "0.0.1",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/difflet.git"

0 comments on commit 04bb7f2

Please sign in to comment.