@b9g/crank 0.5.0-beta.0 → 0.5.0-debug.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crank.cjs +0 -3
- package/crank.cjs.map +1 -1
- package/crank.d.ts +0 -2
- package/crank.js +1 -3
- package/crank.js.map +1 -1
- package/{index.cjs → mod.cjs} +1 -2
- package/mod.cjs.map +1 -0
- package/{index.d.ts → mod.d.ts} +0 -0
- package/mod.js +4 -0
- package/mod.js.map +1 -0
- package/package.json +12 -12
- package/umd.js +0 -3
- package/umd.js.map +1 -1
- package/xm.cjs +1 -1
- package/xm.cjs.map +1 -1
- package/xm.js +2 -2
- package/xm.js.map +1 -1
- package/index.cjs.map +0 -1
- package/index.js +0 -4
- package/index.js.map +0 -1
package/crank.cjs
CHANGED
|
@@ -179,8 +179,6 @@ function createElement(tag, props, ...children) {
|
|
|
179
179
|
}
|
|
180
180
|
return new Element(tag, props1, key, ref, static_);
|
|
181
181
|
}
|
|
182
|
-
/** A single-letter alias for createElement */
|
|
183
|
-
const c = createElement;
|
|
184
182
|
/** Clones a given element, shallowly copying the props object. */
|
|
185
183
|
function cloneElement(el) {
|
|
186
184
|
if (!isElement(el)) {
|
|
@@ -1665,7 +1663,6 @@ exports.Fragment = Fragment;
|
|
|
1665
1663
|
exports.Portal = Portal;
|
|
1666
1664
|
exports.Raw = Raw;
|
|
1667
1665
|
exports.Renderer = Renderer;
|
|
1668
|
-
exports.c = c;
|
|
1669
1666
|
exports.cloneElement = cloneElement;
|
|
1670
1667
|
exports.createElement = createElement;
|
|
1671
1668
|
exports["default"] = crank;
|