Skip to content

Commit

Permalink
(chore) - streamline non-dimensional params with preact X (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock authored and marvinhagemeister committed Jul 20, 2019
1 parent 78c3b68 commit 54cd854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/util.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// DOM properties that should NOT have "px" added when numeric
export const IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;
export const IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i;

export let encodeEntities = s => String(s)
.replace(/&/g, '&')
Expand Down

0 comments on commit 54cd854

Please sign in to comment.