Skip to content

Commit

Permalink
Added compatibility section and fixed a silly bug
Browse files Browse the repository at this point in the history
  • Loading branch information
delapuente committed Oct 8, 2012
1 parent 482eb6e commit e4fa7db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ask.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ var ask = (function(undefined) {
_types();

return {
version: function () { return SEMVER; };
version: function () { return SEMVER; },
mongify: _mongify,
types: _types
}
Expand Down

0 comments on commit e4fa7db

Please sign in to comment.