Skip to content

Commit

Permalink
another failsafe for parse
Browse files Browse the repository at this point in the history
  • Loading branch information
dancrew32 committed May 3, 2011
1 parent 93a5b5d commit b7b11fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions awesome.js
Expand Up @@ -561,6 +561,7 @@ var AWESOME = (function () {
return options;
},
parse: function(str, type) {
if (str === "") return;
type = type || 'json';
var result;
switch (type.toLowerCase()) {
Expand Down

0 comments on commit b7b11fc

Please sign in to comment.