Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hi #2061

Merged
merged 11 commits into from
Apr 29, 2022
Merged

hi #2061

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 4 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@






















# Logs
logs
*.log
Expand Down Expand Up @@ -55,7 +33,7 @@ bower_components
build/Release

# Dependency directories
# node_modules/
node_modules/
jspm_packages/

# Typescript v1 declaration files
Expand All @@ -74,11 +52,11 @@ typings/
*.tgz

# dotenv environment variables file

.env

# gatsby files
# .cache/
# public
.cache/
public

# Mac files
.DS_Store
Expand All @@ -89,10 +67,3 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity

node_modules/

.package-lock.json
*.cache
*public
src/pages/docs/tools/Archive.md
1 change: 0 additions & 1 deletion .node-versions

This file was deleted.

1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

Binary file removed cloudflared.deb
Binary file not shown.
62 changes: 33 additions & 29 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
/**
* Implement Gatsby's Browser APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/browser-apis/
*/
// onPreRouteUpdate() and onRouteUpdate() are called before onInitialClientRender,
// use initialized flag to ensure that window.onGatsbyPreRouteUpdate() and
// window.onGatsbyRouteUpdate() will not be called before
// window.onGatsbyInitialClientRender() has run
let initialized = false;
exports.onInitialClientRender = () => {
initialized = true;
if ( 'onGatsbyInitialClientRender' in window && typeof window.onGatsbyInitialClientRender === 'function' ) {
window.onGatsbyInitialClientRender();
}
if ( 'onGatsbyRouteUpdate' in window && typeof window.onGatsbyRouteUpdate === 'function' ) {
window.onGatsbyRouteUpdate();
}
};
exports.onRouteUpdate = () => {
if ( initialized && 'onGatsbyRouteUpdate' in window && typeof window.onGatsbyRouteUpdate === 'function' ) {
window.onGatsbyRouteUpdate();
}
};
exports.onPreRouteUpdate = () => {
if ( initialized && 'onGatsbyPreRouteUpdate' in window && typeof window.onGatsbyPreRouteUpdate === 'function' ) {
window.onGatsbyPreRouteUpdate();
}
};
/**
* Implement Gatsby's Browser APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/browser-apis/
*/

// onPreRouteUpdate() and onRouteUpdate() are called before onInitialClientRender,
// use initialized flag to ensure that window.onGatsbyPreRouteUpdate() and
// window.onGatsbyRouteUpdate() will not be called before
// window.onGatsbyInitialClientRender() has run
let initialized = false;

exports.onInitialClientRender = () => {
initialized = true;
if ('onGatsbyInitialClientRender' in window && typeof window.onGatsbyInitialClientRender === 'function') {
window.onGatsbyInitialClientRender();
}
if ('onGatsbyRouteUpdate' in window && typeof window.onGatsbyRouteUpdate === 'function') {
window.onGatsbyRouteUpdate();
}
};

exports.onRouteUpdate = () => {
if (initialized && 'onGatsbyRouteUpdate' in window && typeof window.onGatsbyRouteUpdate === 'function') {
window.onGatsbyRouteUpdate();
}
};

exports.onPreRouteUpdate = () => {
if (initialized && 'onGatsbyPreRouteUpdate' in window && typeof window.onGatsbyPreRouteUpdate === 'function') {
window.onGatsbyPreRouteUpdate();
}
};
36 changes: 0 additions & 36 deletions install-dependencies.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
Basic Web Development Environment Setup
=======================================
# Basic Web Development Environment Setup

Windows Subsystem for Linux (WSL) and Ubuntu

------------------------------------------------------------------------
---

### Basic Web Development Environment Setup

Expand Down
5,192 changes: 2,233 additions & 2,959 deletions notes/BGOONZ_BLOG_2.0.wiki/articles/DOM-standard.md

Large diffs are not rendered by default.

Loading