Skip to content

Commit

Permalink
default opts to object
Browse files Browse the repository at this point in the history
  • Loading branch information
jgallen23 committed Feb 5, 2015
1 parent 50e8489 commit 50edb0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/framejax.js
Expand Up @@ -13,6 +13,8 @@
};

$.fn.framejax = function(opts) {
opts = opts || {};

var validate = opts.validate || function() {
return true;
};
Expand Down

0 comments on commit 50edb0c

Please sign in to comment.