UNPKG

@haxtheweb/haxcms-nodejs

Version:

HAXcms single and multisite nodejs server, api, and administration

10 lines 913 B
/** @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ import{MIXIN_MATCH as t,VAR_ASSIGN as e}from"./common-regex.js";export function updateNativeProperties(t,e){for(let o in e)null===o?t.style.removeProperty(o):t.style.setProperty(o,e[o])}export function getComputedStyleValue(t,e){const o=window.getComputedStyle(t).getPropertyValue(e);return o?o.trim():""}export function detectMixin(o){const r=t.test(o)||e.test(o);return t.lastIndex=0,e.lastIndex=0,r}