babel-runtime-jsx-plus
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,1 +0,1 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self)["babel-runtime-jsx-plus"]={})}(this,function(e){"use strict";var r={};var u={}.hasOwnProperty;e.$slot=function(e){var n=e.$slots,r=e.name,t=function(e,n){if(null==e)return{};var r,t,o={},f=Object.keys(e);for(t=0;t<f.length;t++)r=f[t],0<=n.indexOf(r)||(o[r]=e[r]);return o}(e,["$slots","name"]),o=n[r];return"function"==typeof o?o(t):null},e.classnames=function e(){for(var n=[],r=0;r<arguments.length;r++){var t=arguments[r];if(t){var o=typeof t;if("string"==o||"number"==o)n.push(t);else if(Array.isArray(t)&&t.length){var f=e.apply(null,t);f&&n.push(f)}else if("object"==o)for(var s in t)u.call(t,s)&&t[s]&&n.push(s)}}return n.join(" ")},e.createJSXMemo=function(e,n){return r.hasOwnProperty(n)?r[n]:r[n]=e},Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e=e||self)["babel-runtime-jsx-plus"]={})}(this,function(e){"use strict";var t={};var l=Object.prototype.toString;var s={}.hasOwnProperty;e.$slot=function(e){var r=e.$slots,t=e.name,n=function(e,r){if(null==e)return{};var t,n,o={},f=Object.keys(e);for(n=0;n<f.length;n++)t=f[n],0<=r.indexOf(t)||(o[t]=e[t]);return o}(e,["$slots","name"]),o=r[t];return"function"==typeof o?o(n):null},e.classnames=function e(){for(var r=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"==o||"number"==o)r.push(n);else if(Array.isArray(n)&&n.length){var f=e.apply(null,n);f&&r.push(f)}else if("object"==o)for(var i in n)s.call(n,i)&&n[i]&&r.push(i)}}return r.join(" ")},e.createJSXMemo=function(e,r){return t.hasOwnProperty(r)?t[r]:t[r]=e},e.createList=function(e,r){var t,n,o,f,i;if(Array.isArray(e)||"string"==typeof e)for(t=new Array(e.length),n=0,o=e.length;n<o;n++)t[n]=r.call(this,e[n],n);else if("number"==typeof e)for(t=new Array(e),n=0;n<e;n++)t[n]=r.call(this,n+1,n);else if(function(e){return"[object Object]"===l.call(e)}(e))for(f=Object.keys(e),t=new Array(f.length),n=0,o=f.length;n<o;n++)i=f[n],t[n]=r.call(this,e[i],i,n);return t},Object.defineProperty(e,"__esModule",{value:!0})}); |
{ | ||
"name": "babel-runtime-jsx-plus", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Babel runtime support for jsx plus.", | ||
@@ -5,0 +5,0 @@ "main": "dist/babel-runtime-jsx-plus.umd.js", |
import $slot from './Slot'; | ||
import createJSXMemo from './createJSXMemo'; | ||
import createList from './createList'; | ||
import classnames from './classnames'; | ||
export { | ||
createList, | ||
createJSXMemo, | ||
@@ -7,0 +9,0 @@ classnames, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5768
9
134