Permalink
Browse files

Updated to allow exports to node.js

  • Loading branch information...
1 parent 9d83fa7 commit e49bf7c92ad43efd9fc139adb1f49180eb819868 @robinduckett robinduckett committed Apr 16, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/jsmockito.js
View
@@ -520,3 +520,5 @@ JsMockito = {
return (this.find(array, callback) != undefined);
}
};
+
+if (typeof exports !== "undefined") exports.JsMockito = JsMockito;

0 comments on commit e49bf7c

Please sign in to comment.