Skip to content

Commit 14c1dcb

Browse files
authored
Merge pull request #17 from Dan503/bug/#16-need-cjs-exports
FIX Bug #16: no cjs exports
2 parents 618ccb4 + ffa32e4 commit 14c1dcb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+25274
-17264
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

3+
# generated
4+
/timePolyfillHelpers.js
5+
/dist
6+
/build
7+
38
# dependencies
49
/node_modules
510
/.pnp

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,6 @@ Then when using the component, add a `polyfillSource` prop that points to the co
154154
<TimeInput
155155
value={currentValue}
156156
onChange={({ value }) => setCurrentValue(value)}
157-
polyfillSource="/path/to/timePolyfillHelpers.js"
157+
polyfillSource="/path/to/local/timePolyfillHelpers.js"
158158
/>
159159
```

dist/timePolyfillHelpers.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/asset-manifest.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
{
22
"files": {
3-
"main.css": "/react-time-input-polyfill/static/css/main.2743c8fd.chunk.css",
4-
"main.js": "/react-time-input-polyfill/static/js/main.5168e305.chunk.js",
5-
"main.js.map": "/react-time-input-polyfill/static/js/main.5168e305.chunk.js.map",
6-
"runtime-main.js": "/react-time-input-polyfill/static/js/runtime-main.c87944e3.js",
7-
"runtime-main.js.map": "/react-time-input-polyfill/static/js/runtime-main.c87944e3.js.map",
8-
"static/js/2.7acf07de.chunk.js": "/react-time-input-polyfill/static/js/2.7acf07de.chunk.js",
9-
"static/js/2.7acf07de.chunk.js.map": "/react-time-input-polyfill/static/js/2.7acf07de.chunk.js.map",
3+
"main.css": "/react-time-input-polyfill/static/css/main.b28f0cd3.chunk.css",
4+
"main.js": "/react-time-input-polyfill/static/js/main.0c1591ca.chunk.js",
5+
"main.js.map": "/react-time-input-polyfill/static/js/main.0c1591ca.chunk.js.map",
6+
"runtime-main.js": "/react-time-input-polyfill/static/js/runtime-main.9d2b41fd.js",
7+
"runtime-main.js.map": "/react-time-input-polyfill/static/js/runtime-main.9d2b41fd.js.map",
8+
"static/js/2.ad481a36.chunk.js": "/react-time-input-polyfill/static/js/2.ad481a36.chunk.js",
9+
"static/js/2.ad481a36.chunk.js.map": "/react-time-input-polyfill/static/js/2.ad481a36.chunk.js.map",
1010
"index.html": "/react-time-input-polyfill/index.html",
11-
"precache-manifest.b48cc6d4f8bdf97eb870a8cb82f4f792.js": "/react-time-input-polyfill/precache-manifest.b48cc6d4f8bdf97eb870a8cb82f4f792.js",
12-
"service-worker.js": "/react-time-input-polyfill/service-worker.js",
13-
"static/css/main.2743c8fd.chunk.css.map": "/react-time-input-polyfill/static/css/main.2743c8fd.chunk.css.map"
11+
"static/css/main.b28f0cd3.chunk.css.map": "/react-time-input-polyfill/static/css/main.b28f0cd3.chunk.css.map",
12+
"static/js/2.ad481a36.chunk.js.LICENSE.txt": "/react-time-input-polyfill/static/js/2.ad481a36.chunk.js.LICENSE.txt"
1413
},
1514
"entrypoints": [
16-
"static/js/runtime-main.c87944e3.js",
17-
"static/js/2.7acf07de.chunk.js",
18-
"static/css/main.2743c8fd.chunk.css",
19-
"static/js/main.5168e305.chunk.js"
15+
"static/js/runtime-main.9d2b41fd.js",
16+
"static/js/2.ad481a36.chunk.js",
17+
"static/css/main.b28f0cd3.chunk.css",
18+
"static/js/main.0c1591ca.chunk.js"
2019
]
2120
}

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><script crossorigin="anonymous" src="https://polyfill.io/v3/polyfill.min.js?flags=gated&features=Promise%2CObject.assign"></script><meta charset="utf-8"/><link rel="icon" href="/react-time-input-polyfill/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="logo192.png"/><link rel="manifest" href="/react-time-input-polyfill/manifest.json"/><title>React Time Input Polyfill</title><link href="/react-time-input-polyfill/static/css/main.2743c8fd.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(p){function e(e){for(var t,r,n=e[0],o=e[1],l=e[2],u=0,i=[];u<n.length;u++)r=n[u],Object.prototype.hasOwnProperty.call(a,r)&&a[r]&&i.push(a[r][0]),a[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(p[t]=o[t]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,l||[]),f()}function f(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var l=r[o];0!==a[l]&&(n=!1)}n&&(c.splice(t--,1),e=u(u.s=r[0]))}return e}var r={},a={1:0},c=[];function u(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return p[e].call(t.exports,t,t.exports,u),t.l=!0,t.exports}u.m=p,u.c=r,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(t,e){if(1&e&&(t=u(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)u.d(r,n,function(e){return t[e]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/react-time-input-polyfill/";var t=this["webpackJsonpreact-time-input-polyfill"]=this["webpackJsonpreact-time-input-polyfill"]||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var s=n;f()}([])</script><script src="/react-time-input-polyfill/static/js/2.7acf07de.chunk.js"></script><script src="/react-time-input-polyfill/static/js/main.5168e305.chunk.js"></script></body></html>
1+
<!doctype html><html lang="en"><head><script crossorigin="anonymous" src="https://polyfill.io/v3/polyfill.min.js?flags=gated&features=Promise%2CObject.assign"></script><meta charset="utf-8"/><link rel="icon" href="/react-time-input-polyfill/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="logo192.png"/><link rel="manifest" href="/react-time-input-polyfill/manifest.json"/><title>React Time Input Polyfill</title><link href="/react-time-input-polyfill/static/css/main.b28f0cd3.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,u,i=t[0],p=t[1],f=t[2],c=0,s=[];c<i.length;c++)u=i[c],Object.prototype.hasOwnProperty.call(o,u)&&o[u]&&s.push(o[u][0]),o[u]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);for(a&&a(t);s.length;)s.shift()();return l.push.apply(l,f||[]),r()}function r(){for(var e,t=0;t<l.length;t++){for(var r=l[t],n=!0,i=1;i<r.length;i++){var p=r[i];0!==o[p]&&(n=!1)}n&&(l.splice(t--,1),e=u(u.s=r[0]))}return e}var n={},o={1:0},l=[];function u(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,u),r.l=!0,r.exports}u.m=e,u.c=n,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)u.d(r,n,function(t){return e[t]}.bind(null,n));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,"a",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p="/react-time-input-polyfill/";var i=this["webpackJsonpreact-time-input-polyfill"]=this["webpackJsonpreact-time-input-polyfill"]||[],p=i.push.bind(i);i.push=t,i=i.slice();for(var f=0;f<i.length;f++)t(i[f]);var a=p;r()}([])</script><script src="/react-time-input-polyfill/static/js/2.ad481a36.chunk.js"></script><script src="/react-time-input-polyfill/static/js/main.0c1591ca.chunk.js"></script></body></html>

docs/static/css/main.b28f0cd3.chunk.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/static/css/main.b28f0cd3.chunk.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/static/js/2.ad481a36.chunk.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/*
2+
object-assign
3+
(c) Sindre Sorhus
4+
@license MIT
5+
*/
6+
7+
/**
8+
* Prism: Lightweight, robust, elegant syntax highlighting
9+
*
10+
* @license MIT <https://opensource.org/licenses/MIT>
11+
* @author Lea Verou <https://lea.verou.me>
12+
* @namespace
13+
* @public
14+
*/
15+
16+
/** @license React v0.20.2
17+
* scheduler.production.min.js
18+
*
19+
* Copyright (c) Facebook, Inc. and its affiliates.
20+
*
21+
* This source code is licensed under the MIT license found in the
22+
* LICENSE file in the root directory of this source tree.
23+
*/
24+
25+
/** @license React v17.0.2
26+
* react-dom.production.min.js
27+
*
28+
* Copyright (c) Facebook, Inc. and its affiliates.
29+
*
30+
* This source code is licensed under the MIT license found in the
31+
* LICENSE file in the root directory of this source tree.
32+
*/
33+
34+
/** @license React v17.0.2
35+
* react-jsx-runtime.production.min.js
36+
*
37+
* Copyright (c) Facebook, Inc. and its affiliates.
38+
*
39+
* This source code is licensed under the MIT license found in the
40+
* LICENSE file in the root directory of this source tree.
41+
*/
42+
43+
/** @license React v17.0.2
44+
* react.production.min.js
45+
*
46+
* Copyright (c) Facebook, Inc. and its affiliates.
47+
*
48+
* This source code is licensed under the MIT license found in the
49+
* LICENSE file in the root directory of this source tree.
50+
*/

docs/static/js/2.ad481a36.chunk.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)