Skip to content

Commit

Permalink
added safeguard against no options specified
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Snowden committed Jul 22, 2014
1 parent 8908890 commit d263b42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fsvs.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

$.fn.fsvs = function( options ) {

options = options || {};

/**
* [defaults description]
* @type {Object}
Expand Down

0 comments on commit d263b42

Please sign in to comment.