Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tidy up, remove old style package.json fields

  • Loading branch information...
commit 9a389a42d8be4d7b7e6bbffc7a735d4d75e2130d 1 parent 5823491
@dominictarr authored
Showing with 2 additions and 6 deletions.
  1. +0 −5 package.json
  2. +2 −1  traverser.js
View
5 package.json
@@ -5,11 +5,6 @@
"homepage": "https://github.com/dominictarr/traverser",
"repository": "git://github.com/dominictarr/traverser.git",
"author": "Dominic Tarr <dominic.tarr@gmail.com>",
- "main": "./traverser.sync",
- "directories": {
- "lib": ".",
- "example": "examples"
- },
"dependencies": {
"curry" : "0.0.x"
},
View
3  traverser.js
@@ -2,13 +2,14 @@
var curry = require('curry')
, sync = require('./iterators').sync
-module.exports = traverse
+exports = module.exports = traverse
exports.isObject = isObject
exports.isComplex = isComplex
function isObject (props){
return ('object' === typeof props.value)
}
+
var complex =
{ 'function': true
, 'object': true
Please sign in to comment.
Something went wrong with that request. Please try again.