Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Don't crash on null values #13

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 27, 2012
  1. @rix0rrr
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/tiny.js
View
2  lib/tiny.js
@@ -79,7 +79,7 @@ var Lookup = function(index) {
};
Lookup.isLookup = function(obj) {
- return obj._isLookup === Lookup;
+ return obj && obj._isLookup === Lookup;
};
/**
Something went wrong with that request. Please try again.