Permalink
Browse files

Added compatibility section and fixed a silly bug

  • Loading branch information...
1 parent 482eb6e commit e4fa7dbab6cd4f00d0d10275c782c93ac2e3d9f0 @delapuente committed Oct 8, 2012
Showing with 8 additions and 1 deletion.
  1. +7 −0 README.md
  2. +1 −1 ask.js
View
@@ -2,8 +2,15 @@
Perform [mongo queries](http://www.mongodb.org/display/DOCS/Querying) on regular JS objects.
+## Compatibility
+
+`ask.js` is compatible with the ECMAScript 5.1 standard, for retrocompatibility take advantage of [modernizr and polyfills](https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-Browser-Polyfills).
+
+Tests have been passed for both latest Chrome and Firefox 15.0.1.
+
## How to use?
+
Add `ask.js` to your page and use `ask.mongify()` method to convert an array into a mongified collection. ;)
```javascript
View
2 ask.js
@@ -592,7 +592,7 @@ var ask = (function(undefined) {
_types();
return {
- version: function () { return SEMVER; };
+ version: function () { return SEMVER; },
mongify: _mongify,
types: _types
}

0 comments on commit e4fa7db

Please sign in to comment.