Skip to content

Commit

Permalink
Allow non-JSON literals when property type is "Object".
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kaske committed Nov 27, 2017
1 parent c42199c commit 77b17b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mixins/property-accessors.html
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@
outValue = JSON.parse(/** @type {string} */(value));
} catch(x) {
// allow non-JSON literals like Strings and Numbers
outValue = value;
}
break;

Expand Down

0 comments on commit 77b17b4

Please sign in to comment.