cloudmine/cloudmine-js — pull request #5 by artursapek (2012-07-05 21:35:26+00:00)
Title: updateUser, searchUsers

## updateUser
New method. Takes a key and value or a {key: value} object, sets or updates that key on the logged-in user object.

## searchUsers
New method. Searches users with the same query syntax used for objects and files.

### buildSearchQuery
Builds the search query string in the correct syntax. Basically composed of code Steve wrote except now it accepts an additional, optional "type" parameter which gets translated to __type__: {type} at the end of the query.

Tested these (and all the other search queries, which are also affected by the new buildSearchQuery method).