Skip to content

Commit

Permalink
Version 0.22.1
Browse files Browse the repository at this point in the history
  • Loading branch information
buzzdecafe committed Aug 7, 2016
1 parent a01ffe6 commit c592e68
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion BOOKMARKLET.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ or the minified version:
or from a CDN, either cdnjs:

```html
<script src="//cdnjs.cloudflare.com/ajax/libs/ramda/0.22.0/ramda.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/ramda/0.22.1/ramda.min.js"></script>
```

or one of the below links from [jsDelivr](http://jsdelivr.com):

```html
<script src="//cdn.jsdelivr.net/ramda/0.22.0/ramda.min.js"></script>
<script src="//cdn.jsdelivr.net/ramda/0.22.1/ramda.min.js"></script>
<script src="//cdn.jsdelivr.net/ramda/0.22/ramda.min.js"></script>
<script src="//cdn.jsdelivr.net/ramda/latest/ramda.min.js"></script>
```
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ramda",
"main": "dist/ramda.js",
"version": "0.22.0",
"version": "0.22.1",
"homepage": "https://github.com/ramda/ramda",
"authors": [
"(Scott Sauyet <[email protected]>)",
Expand Down
74 changes: 37 additions & 37 deletions dist/ramda.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Ramda v0.22.0
// Ramda v0.22.1
// https://github.com/ramda/ramda
// (c) 2013-2016 Scott Sauyet, Michael Hurley, and David Chambers
// Ramda may be freely distributed under the MIT license.
Expand Down Expand Up @@ -7936,24 +7936,24 @@

// A simple Set type that honours R.equals semantics
/* globals Set */
/**
* @param item The item to add to the Set
* @returns {boolean} true if the item did not exist prior, otherwise false
*/
/**
* @param item The item to check for existence in the Set
* @returns {boolean} true if the item exists in the Set, otherwise false
*/
/**
* Combines the logic for checking whether an item is a member of the set and
* for adding a new item to the set.
*
* @param item The item to check or add to the Set instance.
* @param shouldAdd If true, the item will be added to the set if it doesn't
* already exist.
* @param set The set instance to check or add to.
* @return {boolean} true if the item already existed, otherwise false.
*/
// until we figure out why jsdoc chokes on this
// @param item The item to add to the Set
// @returns {boolean} true if the item did not exist prior, otherwise false
//
//
// @param item The item to check for existence in the Set
// @returns {boolean} true if the item exists in the Set, otherwise false
//
//
// Combines the logic for checking whether an item is a member of the set and
// for adding a new item to the set.
//
// @param item The item to check or add to the Set instance.
// @param shouldAdd If true, the item will be added to the set if it doesn't
// already exist.
// @param set The set instance to check or add to.
// @return {boolean} true if the item already existed, otherwise false.
//
// distinguish between +0 and -0
// these types can all utilise the native Set
// set._items['boolean'] holds a two element array
Expand All @@ -7969,30 +7969,30 @@
this._nativeSet = typeof Set === 'function' ? new Set() : null;
this._items = {};
}
/**
* @param item The item to add to the Set
* @returns {boolean} true if the item did not exist prior, otherwise false
*/
// until we figure out why jsdoc chokes on this
// @param item The item to add to the Set
// @returns {boolean} true if the item did not exist prior, otherwise false
//
_Set.prototype.add = function (item) {
return !hasOrAdd(item, true, this);
};
/**
* @param item The item to check for existence in the Set
* @returns {boolean} true if the item exists in the Set, otherwise false
*/
//
// @param item The item to check for existence in the Set
// @returns {boolean} true if the item exists in the Set, otherwise false
//
_Set.prototype.has = function (item) {
return hasOrAdd(item, false, this);
};
/**
* Combines the logic for checking whether an item is a member of the set and
* for adding a new item to the set.
*
* @param item The item to check or add to the Set instance.
* @param shouldAdd If true, the item will be added to the set if it doesn't
* already exist.
* @param set The set instance to check or add to.
* @return {boolean} true if the item already existed, otherwise false.
*/
//
// Combines the logic for checking whether an item is a member of the set and
// for adding a new item to the set.
//
// @param item The item to check or add to the Set instance.
// @param shouldAdd If true, the item will be added to the set if it doesn't
// already exist.
// @param set The set instance to check or add to.
// @return {boolean} true if the item already existed, otherwise false.
//
function hasOrAdd(item, shouldAdd, set) {
var type = typeof item;
var prevSize, newSize;
Expand Down
2 changes: 1 addition & 1 deletion dist/ramda.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"name": "ramda",
"description": "A practical functional library for JavaScript programmers.",
"version": "0.22.0",
"version": "0.22.1",
"homepage": "http://ramdajs.com/",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit c592e68

Please sign in to comment.