Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
drhodes committed Apr 23, 2010
1 parent 55b7e55 commit 97ffb23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions set.js
@@ -1,8 +1,8 @@
/* A set object for javascript.
* Derek Rhodes, physci@gmail.com
*
* Derek Rhodes
* under the terms of either the MIT License or the GNU General Public License (GPL) Version 2.
*
+ add
+ clear
+ copy
Expand Down Expand Up @@ -168,7 +168,7 @@ Set.prototype.intersectionUpdate = function(other){

Set.prototype.isDisjoint = function(other){
// return true if two sets have a null intersection.
return this.intersection(other).size() == 0;
return this.intersection(other).size() === 0;
};

Set.prototype.isSubset = function(other){
Expand Down

0 comments on commit 97ffb23

Please sign in to comment.