Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

keep the same api for node & browser

only when requiring the index
  • Loading branch information...
commit a6f86005e52f6b4e0d01996d566c288aee82e5f8 1 parent 34d08ca
Valerio Proietti authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
2  index.js
View
@@ -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") }
Please sign in to comment.
Something went wrong with that request. Please try again.