From a2ab19c78d0a27033ff7395b928c9db460814aff Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sat, 12 Dec 2020 14:41:04 +0100 Subject: [PATCH] fix(cfp): Uninitialize variable and change in recreate gist url --- packages/aaron/example/src/App.js | 4 ++-- packages/albert/example/src/App.js | 4 ++-- packages/bella/example/src/App.js | 4 ++-- packages/benjamin/example/src/App.js | 4 ++-- packages/bent/example/src/App.js | 4 ++-- packages/breanna/example/src/App.js | 4 ++-- packages/brian/example/src/App.js | 4 ++-- packages/bruce/example/src/App.js | 4 ++-- packages/carlita/example/src/App.js | 4 ++-- packages/carlton/example/src/App.js | 4 ++-- packages/cathrin/example/src/App.js | 4 ++-- .../template/default/example/src/App.js | 4 ++-- packages/diana/example/src/App.js | 4 ++-- packages/examples/example/src/App.js | 4 ++-- packages/florence/example/src/App.js | 4 ++-- packages/florent/example/src/App.js | 4 ++-- packages/holmes/example/src/App.js | 4 ++-- packages/huey/example/src/App.js | 4 ++-- packages/hugo/example/src/App.js | 4 ++-- packages/jaeger/example/src/App.js | 4 ++-- packages/legend/example/src/App.js | 4 ++-- packages/paco/example/src/App.js | 4 ++-- packages/penelope/example/src/App.js | 4 ++-- packages/rendertest/example/src/App.js | 4 ++-- packages/sandy/example/src/App.js | 4 ++-- packages/shin/example/src/App.js | 4 ++-- packages/simon/example/src/App.js | 4 ++-- packages/simone/example/src/App.js | 4 ++-- packages/sven/example/src/App.js | 4 ++-- packages/tamiko/example/src/App.js | 4 ++-- packages/teagan/example/src/App.js | 4 ++-- packages/theo/example/src/App.js | 4 ++-- packages/titan/example/src/App.js | 4 ++-- packages/trayvon/example/src/App.js | 4 ++-- packages/tutorial/example/src/App.js | 4 ++-- packages/wahid/example/src/App.js | 4 ++-- packages/waralee/example/src/App.js | 4 ++-- 37 files changed, 74 insertions(+), 74 deletions(-) diff --git a/packages/aaron/example/src/App.js b/packages/aaron/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/aaron/example/src/App.js +++ b/packages/aaron/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/albert/example/src/App.js b/packages/albert/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/albert/example/src/App.js +++ b/packages/albert/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/bella/example/src/App.js b/packages/bella/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/bella/example/src/App.js +++ b/packages/bella/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/benjamin/example/src/App.js b/packages/benjamin/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/benjamin/example/src/App.js +++ b/packages/benjamin/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/bent/example/src/App.js b/packages/bent/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/bent/example/src/App.js +++ b/packages/bent/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/breanna/example/src/App.js b/packages/breanna/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/breanna/example/src/App.js +++ b/packages/breanna/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/brian/example/src/App.js b/packages/brian/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/brian/example/src/App.js +++ b/packages/brian/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/bruce/example/src/App.js b/packages/bruce/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/bruce/example/src/App.js +++ b/packages/bruce/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/carlita/example/src/App.js b/packages/carlita/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/carlita/example/src/App.js +++ b/packages/carlita/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/carlton/example/src/App.js b/packages/carlton/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/carlton/example/src/App.js +++ b/packages/carlton/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/cathrin/example/src/App.js b/packages/cathrin/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/cathrin/example/src/App.js +++ b/packages/cathrin/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/create-freesewing-pattern/template/default/example/src/App.js b/packages/create-freesewing-pattern/template/default/example/src/App.js index 0cf26689710..502fa7ad989 100644 --- a/packages/create-freesewing-pattern/template/default/example/src/App.js +++ b/packages/create-freesewing-pattern/template/default/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/diana/example/src/App.js b/packages/diana/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/diana/example/src/App.js +++ b/packages/diana/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/examples/example/src/App.js b/packages/examples/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/examples/example/src/App.js +++ b/packages/examples/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/florence/example/src/App.js b/packages/florence/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/florence/example/src/App.js +++ b/packages/florence/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/florent/example/src/App.js b/packages/florent/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/florent/example/src/App.js +++ b/packages/florent/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/holmes/example/src/App.js b/packages/holmes/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/holmes/example/src/App.js +++ b/packages/holmes/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/huey/example/src/App.js b/packages/huey/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/huey/example/src/App.js +++ b/packages/huey/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/hugo/example/src/App.js b/packages/hugo/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/hugo/example/src/App.js +++ b/packages/hugo/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/jaeger/example/src/App.js b/packages/jaeger/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/jaeger/example/src/App.js +++ b/packages/jaeger/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/legend/example/src/App.js b/packages/legend/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/legend/example/src/App.js +++ b/packages/legend/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/paco/example/src/App.js b/packages/paco/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/paco/example/src/App.js +++ b/packages/paco/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/penelope/example/src/App.js b/packages/penelope/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/penelope/example/src/App.js +++ b/packages/penelope/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/rendertest/example/src/App.js b/packages/rendertest/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/rendertest/example/src/App.js +++ b/packages/rendertest/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/sandy/example/src/App.js b/packages/sandy/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/sandy/example/src/App.js +++ b/packages/sandy/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/shin/example/src/App.js b/packages/shin/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/shin/example/src/App.js +++ b/packages/shin/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/simon/example/src/App.js b/packages/simon/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/simon/example/src/App.js +++ b/packages/simon/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/simone/example/src/App.js b/packages/simone/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/simone/example/src/App.js +++ b/packages/simone/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/sven/example/src/App.js b/packages/sven/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/sven/example/src/App.js +++ b/packages/sven/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/tamiko/example/src/App.js b/packages/tamiko/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/tamiko/example/src/App.js +++ b/packages/tamiko/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/teagan/example/src/App.js b/packages/teagan/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/teagan/example/src/App.js +++ b/packages/teagan/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/theo/example/src/App.js b/packages/theo/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/theo/example/src/App.js +++ b/packages/theo/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/titan/example/src/App.js b/packages/titan/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/titan/example/src/App.js +++ b/packages/titan/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/trayvon/example/src/App.js b/packages/trayvon/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/trayvon/example/src/App.js +++ b/packages/trayvon/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/tutorial/example/src/App.js b/packages/tutorial/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/tutorial/example/src/App.js +++ b/packages/tutorial/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/wahid/example/src/App.js b/packages/wahid/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/wahid/example/src/App.js +++ b/packages/wahid/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false diff --git a/packages/waralee/example/src/App.js b/packages/waralee/example/src/App.js index b81796274df..40e0c0a9e58 100644 --- a/packages/waralee/example/src/App.js +++ b/packages/waralee/example/src/App.js @@ -17,9 +17,9 @@ const App = (props) => { */ // Adds support for loading an external pattern configuration - let recreate + let recreate = false if (window) recreate = window.location.pathname.substr(1).split('/') - if (recreate.length === 3 && recreate[0] === 'from') + if (recreate.length === 3 && recreate[0] === 'recreate') recreate = { from: recreate[1], id: recreate[2] } else recreate = false