Skip to content

Commit

Permalink
revert: remove wpath shortcut
Browse files Browse the repository at this point in the history
Refs: ad243f7
  • Loading branch information
ewanharris committed Apr 27, 2020
1 parent ad243f7 commit bfcdae7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Alloy/commands/compile/compilerUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,6 @@ exports.getParserArgs = function(node, state, opts) {
theValue = styler.STYLE_EXPR_PREFIX + theValue;
}

if ( theValue.startsWith('~/')) {
theValue = styler.STYLE_EXPR_PREFIX + 'WPATH("' + theValue.substring(2, theValue.length) + '")';
}

if (attrName === 'class') {
if (autoStyle) {
createArgs[CONST.CLASS_PROPERTY] = theValue.split(/\s+/) || [];
Expand Down

0 comments on commit bfcdae7

Please sign in to comment.