Skip to content

Commit

Permalink
array configs are object so parse not split the value
Browse files Browse the repository at this point in the history
  • Loading branch information
jonspalmer committed Aug 8, 2021
1 parent 0a5f4ee commit f011a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/server-kitchen-sink/views/addons/controls/all.pug
Expand Up @@ -5,8 +5,8 @@
- dateOptions = { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' };
- style = `border: 2px dotted ${colour}; padding: 8px 22px; border-radius: 8px`;
- today = new Date(today);
- items = items.split(',');
- other = JSON.parse(other)
- items = JSON.parse(tems);
- other = JSON.parse(other);

div(style=`${style}`)
h1 My name is #{name},
Expand Down

0 comments on commit f011a67

Please sign in to comment.