Skip to content

Commit

Permalink
v0.3.2
Browse files Browse the repository at this point in the history
- removed `util.merge`
- $set and null value, fix gcanti#65
  • Loading branch information
gcanti committed Nov 7, 2014
1 parent 22978d0 commit 6870c44
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tcomb",
"main": "index.js",
"version": "0.3.1",
"version": "0.3.2",
"homepage": "https://github.com/gcanti/tcomb",
"authors": [
"gcanti <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tcomb",
"version": "0.3.1",
"version": "0.3.2",
"description": "Pragmatic runtime type checking for JavaScript",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tcomb.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 test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('update', function () {
eq(actual, [1, 4, 3]);
});

it.only('$set and null value, issue #65', function () {
it('$set and null value, issue #65', function () {
var NullStruct = struct({a: Num, b: maybe(Num)});
var instance = new NullStruct({a: 1});
var updated = update(instance, {b: {$set: 2}});
Expand Down

0 comments on commit 6870c44

Please sign in to comment.