Build 1.1 and 1.2

This commit is contained in:
2021-08-26 10:00:30 +07:00
parent 7936b08b39
commit c14bdb1439
19 changed files with 125 additions and 0 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,41 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
(this["webpackJsonp1.1"]=this["webpackJsonp1.1"]||[]).push([[0],{9:function(e,s,t){"use strict";t.r(s);var c=t(3),r=t.n(c),n=(t(1),t(0)),i=function(e){return Object(n.jsx)("h1",{children:e.course})},x=function(e){return Object(n.jsxs)("div",{children:[Object(n.jsx)(a,{part:e.part[0],exercises:e.exercises[0]}),Object(n.jsx)(a,{part:e.part[2],exercises:e.exercises[1]}),Object(n.jsx)(a,{part:e.part[2],exercises:e.exercises[2]})]})},a=function(e){return Object(n.jsxs)("p",{children:[e.part," ",e.exercises]})},j=function(e){return Object(n.jsxs)("p",{children:["Number of exercises ",e.exercises[0]+e.exercises[1]+e.exercises[2]]})},o=function(){return Object(n.jsxs)("div",{children:[Object(n.jsx)(i,{course:"Half Stack application development"}),Object(n.jsx)(x,{part:["Fundamentals of React","Using props to pass data","State of a component"],exercises:[10,7,14]}),Object(n.jsx)(j,{exercises:[10,7,14]})]})};r.a.render(Object(n.jsx)(o,{}),document.getElementById("root"))}},[[9,1,2]]]);
//# sourceMappingURL=main.663018b4.chunk.js.map
@@ -0,0 +1 @@
{"version":3,"sources":["App.js","index.js"],"names":["Header","props","course","Content","part","exercises","Part","Total","App","ReactDOM","render","document","getElementById"],"mappings":"yIAoBMA,EAAS,SAACC,GACd,OACE,6BAAKA,EAAMC,UAITC,EAAU,SAACF,GACf,OACE,gCACE,cAAC,EAAD,CAAMG,KAAMH,EAAMG,KAAK,GAAIC,UAAWJ,EAAMI,UAAU,KACtD,cAAC,EAAD,CAAMD,KAAMH,EAAMG,KAAK,GAAIC,UAAWJ,EAAMI,UAAU,KACtD,cAAC,EAAD,CAAMD,KAAMH,EAAMG,KAAK,GAAIC,UAAWJ,EAAMI,UAAU,SAMtDC,EAAO,SAACL,GACZ,OACE,8BAAIA,EAAMG,KAAV,IAAiBH,EAAMI,cAIrBE,EAAQ,SAACN,GACb,OACE,qDAAwBA,EAAMI,UAAU,GAAKJ,EAAMI,UAAU,GAAKJ,EAAMI,UAAU,OAKvEG,EAhDH,WASV,OACE,gCACE,cAAC,EAAD,CAAQN,OAVG,uCAWX,cAAC,EAAD,CAASE,KAAM,CAVL,wBAEA,2BAEA,wBAM0BC,UAAW,CAThC,GAEA,EAEA,MAMf,cAAC,EAAD,CAAOA,UAAW,CAVH,GAEA,EAEA,UCNrBI,IAASC,OACP,cAAC,EAAD,IACAC,SAASC,eAAe,W","file":"static/js/main.663018b4.chunk.js","sourcesContent":["import React from 'react'\r\n\r\nconst App = () => {\r\n const course = 'Half Stack application development'\r\n const part1 = 'Fundamentals of React'\r\n const exercises1 = 10\r\n const part2 = 'Using props to pass data'\r\n const exercises2 = 7\r\n const part3 = 'State of a component'\r\n const exercises3 = 14\r\n\r\n return (\r\n <div>\r\n <Header course={course} />\r\n <Content part={[part1,part2,part3]} exercises={[exercises1, exercises2, exercises3]} />\r\n <Total exercises={[exercises1, exercises2, exercises3]} />\r\n </div>\r\n )\r\n}\r\n\r\nconst Header = (props) => {\r\n return (\r\n <h1>{props.course}</h1>\r\n )\r\n}\r\n\r\nconst Content = (props) => {\r\n return (\r\n <div>\r\n <Part part={props.part[0]} exercises={props.exercises[0]} />\r\n <Part part={props.part[2]} exercises={props.exercises[1]} />\r\n <Part part={props.part[2]} exercises={props.exercises[2]} />\r\n </div>\r\n \r\n )\r\n}\r\n\r\nconst Part = (props) => {\r\n return (\r\n <p>{props.part} {props.exercises}</p>\r\n )\r\n}\r\n\r\nconst Total = (props) => {\r\n return (\r\n <p>Number of exercises {props.exercises[0] + props.exercises[1] + props.exercises[2]}</p>\r\n //<p>1</p>\r\n )\r\n}\r\n\r\nexport default App","import ReactDOM from 'react-dom'\r\nimport App from './App'\r\n\r\nReactDOM.render(\r\n <App />, \r\n document.getElementById('root')\r\n)"],"sourceRoot":""}
@@ -0,0 +1,2 @@
!function(e){function r(r){for(var n,l,f=r[0],i=r[1],a=r[2],c=0,s=[];c<f.length;c++)l=f[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,f=1;f<t.length;f++){var i=t[f];0!==o[i]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={1:0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var f=this["webpackJsonp1.1"]=this["webpackJsonp1.1"]||[],i=f.push.bind(f);f.push=r,f=f.slice();for(var a=0;a<f.length;a++)r(f[a]);var p=i;t()}([]);
//# sourceMappingURL=runtime-main.ed7534be.js.map
File diff suppressed because one or more lines are too long