i instanceof Object is not a good way to check type.
when i use mongous on node-webkit, the source code is running in window(web global context) , the Object is window.Object not global.Object(nodejs context), so check type is failed.
so mongous can not be use in node-webkit.
I fixed it.
Oh my goodness, github has not been emailing me about issues. I only now noticed this and the other one! So sorry, I'll try and merge these in soon. Thank you so much!
i instanceof Object
is not a good way to check type. when i use mongous on node-webkit, the source code is running inwindow
(web global context) , theObject
iswindow.Object
notglobal.Object
(nodejs context), so check type is failed. so mongous can not be use in node-webkit. I fixed it.