Skip to content

Commit

Permalink
feat(componentDisplayMode): Merge passed a prop object with a default (
Browse files Browse the repository at this point in the history
…#71)

* feat(componentDisplayMode): Merge passed a prop object with a default

* chore(example): Clear example params
  • Loading branch information
Andrzej Sala authored Jul 29, 2019
1 parent 01b6111 commit 49ae02f
Show file tree
Hide file tree
Showing 41 changed files with 13,108 additions and 75 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ fabric.properties
/tests/__coverage__/
/examples/demo/build/
/examples/demo/package-lock.json
/dist
File renamed without changes.
13 changes: 13 additions & 0 deletions demo/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"main.css": "/static/css/main.218ded95.chunk.css",
"main.js": "/static/js/main.c330bb31.chunk.js",
"main.js.map": "/static/js/main.c330bb31.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.42ac5946.js",
"runtime~main.js.map": "/static/js/runtime~main.42ac5946.js.map",
"static/js/2.ab6124b9.chunk.js": "/static/js/2.ab6124b9.chunk.js",
"static/js/2.ab6124b9.chunk.js.map": "/static/js/2.ab6124b9.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.2a58595fb846f91804af221cc1a187bb.js": "/precache-manifest.2a58595fb846f91804af221cc1a187bb.js",
"service-worker.js": "/service-worker.js",
"static/css/main.218ded95.chunk.css.map": "/static/css/main.218ded95.chunk.css.map"
}
File renamed without changes.
1 change: 1 addition & 0 deletions demo/build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>React App</title><link href="/static/css/main.218ded95.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.ab6124b9.chunk.js"></script><script src="/static/js/main.c330bb31.chunk.js"></script></body></html>
File renamed without changes.
22 changes: 22 additions & 0 deletions demo/build/precache-manifest.2a58595fb846f91804af221cc1a187bb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
self.__precacheManifest = [
{
"revision": "42ac5946195a7306e2a5",
"url": "/static/js/runtime~main.42ac5946.js"
},
{
"revision": "c330bb31e3b57ffe6ce1",
"url": "/static/js/main.c330bb31.chunk.js"
},
{
"revision": "ab6124b99d5e02a64220",
"url": "/static/js/2.ab6124b9.chunk.js"
},
{
"revision": "c330bb31e3b57ffe6ce1",
"url": "/static/css/main.218ded95.chunk.css"
},
{
"revision": "2d850e2b471b4180927a6bc1d8faec34",
"url": "/index.html"
}
];
34 changes: 34 additions & 0 deletions demo/build/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/

importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");

importScripts(
"/precache-manifest.2a58595fb846f91804af221cc1a187bb.js"
);

workbox.clientsClaim();

/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute("/index.html", {

blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/],
});
2 changes: 2 additions & 0 deletions demo/build/static/css/main.218ded95.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions demo/build/static/css/main.218ded95.chunk.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions demo/build/static/js/2.ab6124b9.chunk.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demo/build/static/js/2.ab6124b9.chunk.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 49ae02f

Please sign in to comment.