Permalink
Browse files

Merge pull request #1 from b1rdex/patch-2

NB about casting [] to node's array
  • Loading branch information...
2 parents 4ed754e + ee5d565 commit cce644b8dba19b8c6b7fbcf13d68fba77385d716 @Mithgol committed Mar 12, 2014
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
@@ -92,6 +92,10 @@ It is not possible to replace the default constructors of arrays and objects
Therefore you have to use `Array()` and `Object()` constructors exported by `require('nwglobal')` in order to create arrays and objects in Node's context.
+NB: you can cast browser's `[]` array to node.js array with `require('nwglobal').Array.prototype.slice.call(browserContextArray)`.
+
+NB2: With this you can transform jquery set.
+
# License
MIT License, see the LICENSE file.

0 comments on commit cce644b

Please sign in to comment.