Browse files

keep the same api for node & browser

only when requiring the index
  • Loading branch information...
1 parent 34d08ca commit a6f86005e52f6b4e0d01996d566c288aee82e5f8 @kamicane committed Jan 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
2 index.js
@@ -2,4 +2,4 @@
slick
*/"use strict"
-module.exports = "document" in global ? require("./finder") : require("./parser")
+module.exports = "document" in global ? require("./finder") : { parse: require("./parser") }

0 comments on commit a6f8600

Please sign in to comment.