jsxstyle-utils
Advanced tools
Comparing version 0.0.0-canary-202162123283 to 0.0.0-canary-202162203517
# jsxstyle-utils | ||
## 0.0.0-canary-202162123283 | ||
## 0.0.0-canary-202162203517 | ||
@@ -5,0 +5,0 @@ ### Major Changes |
@@ -378,4 +378,10 @@ 'use strict'; | ||
capRegex.lastIndex > 1 && | ||
originalPropName.slice(0, capRegex.lastIndex - 1); // check for media query prefix | ||
originalPropName.slice(0, capRegex.lastIndex - 1); // all /^on[A-Z]/ props get passed through to the underlying component | ||
if (prefix === 'on') { | ||
(styleKeyObj.props = styleKeyObj.props || {})[originalPropName] = | ||
props[originalPropName]; | ||
continue; | ||
} // check for media query prefix | ||
if (prefix && mediaQueries != null && mediaQueries.hasOwnProperty(prefix)) { | ||
@@ -382,0 +388,0 @@ usesMediaQueries = true; |
@@ -374,4 +374,10 @@ var canUseDOM = !!( | ||
capRegex.lastIndex > 1 && | ||
originalPropName.slice(0, capRegex.lastIndex - 1); // check for media query prefix | ||
originalPropName.slice(0, capRegex.lastIndex - 1); // all /^on[A-Z]/ props get passed through to the underlying component | ||
if (prefix === 'on') { | ||
(styleKeyObj.props = styleKeyObj.props || {})[originalPropName] = | ||
props[originalPropName]; | ||
continue; | ||
} // check for media query prefix | ||
if (prefix && mediaQueries != null && mediaQueries.hasOwnProperty(prefix)) { | ||
@@ -378,0 +384,0 @@ usesMediaQueries = true; |
@@ -377,4 +377,10 @@ define('jsxstyle-utils', ['exports'], function (exports) { | ||
capRegex.lastIndex > 1 && | ||
originalPropName.slice(0, capRegex.lastIndex - 1); // check for media query prefix | ||
originalPropName.slice(0, capRegex.lastIndex - 1); // all /^on[A-Z]/ props get passed through to the underlying component | ||
if (prefix === 'on') { | ||
(styleKeyObj.props = styleKeyObj.props || {})[originalPropName] = | ||
props[originalPropName]; | ||
continue; | ||
} // check for media query prefix | ||
if ( | ||
@@ -381,0 +387,0 @@ prefix && |
{ | ||
"name": "jsxstyle-utils", | ||
"version": "0.0.0-canary-202162123283", | ||
"version": "0.0.0-canary-202162203517", | ||
"description": "Utilities used by jsxstyle and tooling built for jsxstyle", | ||
@@ -5,0 +5,0 @@ "author": "Pete Hunt", |
Sorry, the diff of this file is not supported yet
69766
1928