1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-26 09:44:32 +02:00

renamed graphics-element dir

This commit is contained in:
Pomax
2020-11-06 11:32:44 -08:00
parent 3288732350
commit 77284e1051
34 changed files with 25 additions and 25 deletions

View File

@@ -38,7 +38,7 @@
<meta property="og:locale" content="en-GB" /> <meta property="og:locale" content="en-GB" />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" /> <meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
<meta property="og:updated_time" content="2020-11-01T22:42:49+00:00" /> <meta property="og:updated_time" content="2020-11-06T19:31:57+00:00" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" /> <meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" /> <meta property="og:section" content="Bézier Curves" />
<meta property="og:tag" content="Bézier Curves" /> <meta property="og:tag" content="Bézier Curves" />
@@ -63,8 +63,8 @@
given how much HTML there is, that means this can, and thus should, kick in before the given how much HTML there is, that means this can, and thus should, kick in before the
document is done even transferring. document is done even transferring.
--> -->
<script src="./js/custom-element/graphics-element.js" type="module" async></script> <script src="./js/graphics-element/graphics-element.js" type="module" async></script>
<link rel="stylesheet" href="./js/custom-element/graphics-element.css" /> <link rel="stylesheet" href="./js/graphics-element/graphics-element.css" />
<!-- make images lazy load much earlier --> <!-- make images lazy load much earlier -->
<script src="./js/site/better-lazy-loading.js" type="module" async defer></script> <script src="./js/site/better-lazy-loading.js" type="module" async defer></script>

View File

@@ -41,7 +41,7 @@
<meta property="og:locale" content="ja-JP" /> <meta property="og:locale" content="ja-JP" />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" /> <meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
<meta property="og:updated_time" content="2020-11-01T22:42:49+00:00" /> <meta property="og:updated_time" content="2020-11-06T19:31:57+00:00" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" /> <meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" /> <meta property="og:section" content="Bézier Curves" />
<meta property="og:tag" content="Bézier Curves" /> <meta property="og:tag" content="Bézier Curves" />
@@ -66,8 +66,8 @@
given how much HTML there is, that means this can, and thus should, kick in before the given how much HTML there is, that means this can, and thus should, kick in before the
document is done even transferring. document is done even transferring.
--> -->
<script src="./js/custom-element/graphics-element.js" type="module" async></script> <script src="./js/graphics-element/graphics-element.js" type="module" async></script>
<link rel="stylesheet" href="./js/custom-element/graphics-element.css" /> <link rel="stylesheet" href="./js/graphics-element/graphics-element.css" />
<!-- make images lazy load much earlier --> <!-- make images lazy load much earlier -->
<script src="./js/site/better-lazy-loading.js" type="module" async defer></script> <script src="./js/site/better-lazy-loading.js" type="module" async defer></script>

View File

@@ -34,7 +34,7 @@
<meta property="og:locale" content="en-GB" /> <meta property="og:locale" content="en-GB" />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:published_time" content="Thu Sep 17 2020 17:00:00 +00:00" /> <meta property="og:published_time" content="Thu Sep 17 2020 17:00:00 +00:00" />
<meta property="og:updated_time" content="Sun Nov 01 2020 14:42:49 +00:00" /> <meta property="og:updated_time" content="Fri Nov 06 2020 11:31:57 +00:00" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" /> <meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" /> <meta property="og:section" content="Bézier Curves" />
<meta property="og:tag" content="Bézier Curves" /> <meta property="og:tag" content="Bézier Curves" />
@@ -56,8 +56,8 @@
given how much HTML there is, that means this can, and thus should, kick in before the given how much HTML there is, that means this can, and thus should, kick in before the
document is done even transferring. document is done even transferring.
--> -->
<script src="./js/custom-element/graphics-element.js" type="module" async></script> <script src="./js/graphics-element/graphics-element.js" type="module" async></script>
<link rel="stylesheet" href="./js/custom-element/graphics-element.css" /> <link rel="stylesheet" href="./js/graphics-element/graphics-element.css" />
<!-- make images lazy load much earlier --> <!-- make images lazy load much earlier -->
<script src="./js/site/better-lazy-loading.js" type="module" async defer></script> <script src="./js/site/better-lazy-loading.js" type="module" async defer></script>

View File

@@ -33,7 +33,7 @@
<meta property="og:description" content="" /> <meta property="og:description" content="" />
<meta property="og:locale" content="en-GB" /> <meta property="og:locale" content="en-GB" />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:published_time" content="Sun Nov 01 2020 14:42:49 GMT-0800 (Pacific Standard Time)" /> <meta property="og:published_time" content="Fri Nov 06 2020 11:31:57 GMT-0800 (Pacific Standard Time)" />
<meta property="og:updated_time" content="" /> <meta property="og:updated_time" content="" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" /> <meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" /> <meta property="og:section" content="Bézier Curves" />
@@ -56,8 +56,8 @@
given how much HTML there is, that means this can, and thus should, kick in before the given how much HTML there is, that means this can, and thus should, kick in before the
document is done even transferring. document is done even transferring.
--> -->
<script src="./js/custom-element/graphics-element.js" type="module" async></script> <script src="./js/graphics-element/graphics-element.js" type="module" async></script>
<link rel="stylesheet" href="./js/custom-element/graphics-element.css" /> <link rel="stylesheet" href="./js/graphics-element/graphics-element.css" />
<!-- make images lazy load much earlier --> <!-- make images lazy load much earlier -->
<script src="./js/site/better-lazy-loading.js" type="module" async defer></script> <script src="./js/site/better-lazy-loading.js" type="module" async defer></script>

View File

@@ -6,7 +6,7 @@
<atom:link href="https://pomax.github.io/bezierinfo" rel="self"></atom:link> <atom:link href="https://pomax.github.io/bezierinfo" rel="self"></atom:link>
<description>News updates for the <a href="https://pomax.github.io/bezierinfo">primer on Bézier Curves</a> by Pomax</description> <description>News updates for the <a href="https://pomax.github.io/bezierinfo">primer on Bézier Curves</a> by Pomax</description>
<language>en-GB</language> <language>en-GB</language>
<lastBuildDate>Sun Nov 01 2020 14:42:49 +00:00</lastBuildDate> <lastBuildDate>Fri Nov 06 2020 11:31:57 +00:00</lastBuildDate>
<image> <image>
<url>https://pomax.github.io/bezierinfo/images/og-image.png</url> <url>https://pomax.github.io/bezierinfo/images/og-image.png</url>
<title>A Primer on Bézier Curves</title> <title>A Primer on Bézier Curves</title>

View File

@@ -39,7 +39,7 @@
<meta property="og:locale" content="uk-UA" /> <meta property="og:locale" content="uk-UA" />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" /> <meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
<meta property="og:updated_time" content="2020-11-01T22:42:49+00:00" /> <meta property="og:updated_time" content="2020-11-06T19:31:57+00:00" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" /> <meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" /> <meta property="og:section" content="Bézier Curves" />
<meta property="og:tag" content="Bézier Curves" /> <meta property="og:tag" content="Bézier Curves" />
@@ -61,8 +61,8 @@
given how much HTML there is, that means this can, and thus should, kick in before the given how much HTML there is, that means this can, and thus should, kick in before the
document is done even transferring. document is done even transferring.
--> -->
<script src="./js/custom-element/graphics-element.js" type="module" async></script> <script src="./js/graphics-element/graphics-element.js" type="module" async></script>
<link rel="stylesheet" href="./js/custom-element/graphics-element.css" /> <link rel="stylesheet" href="./js/graphics-element/graphics-element.css" />
<!-- make images lazy load much earlier --> <!-- make images lazy load much earlier -->
<script src="./js/site/better-lazy-loading.js" type="module" async defer></script> <script src="./js/site/better-lazy-loading.js" type="module" async defer></script>

View File

@@ -41,7 +41,7 @@
<meta property="og:locale" content="zh-CN" /> <meta property="og:locale" content="zh-CN" />
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" /> <meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
<meta property="og:updated_time" content="2020-11-01T22:42:49+00:00" /> <meta property="og:updated_time" content="2020-11-06T19:31:57+00:00" />
<meta property="og:author" content="Mike 'Pomax' Kamermans" /> <meta property="og:author" content="Mike 'Pomax' Kamermans" />
<meta property="og:section" content="Bézier Curves" /> <meta property="og:section" content="Bézier Curves" />
<meta property="og:tag" content="Bézier Curves" /> <meta property="og:tag" content="Bézier Curves" />
@@ -66,8 +66,8 @@
given how much HTML there is, that means this can, and thus should, kick in before the given how much HTML there is, that means this can, and thus should, kick in before the
document is done even transferring. document is done even transferring.
--> -->
<script src="./js/custom-element/graphics-element.js" type="module" async></script> <script src="./js/graphics-element/graphics-element.js" type="module" async></script>
<link rel="stylesheet" href="./js/custom-element/graphics-element.css" /> <link rel="stylesheet" href="./js/graphics-element/graphics-element.css" />
<!-- make images lazy load much earlier --> <!-- make images lazy load much earlier -->
<script src="./js/site/better-lazy-loading.js" type="module" async defer></script> <script src="./js/site/better-lazy-loading.js" type="module" async defer></script>

View File

@@ -1,19 +1,19 @@
import fs from "fs-extra"; import fs from "fs-extra";
import path from "path"; import path from "path";
import paths from "../../../../project-paths.js"; import paths from "../../../../project-paths.js";
import splitCodeSections from "../../../../../docs/js/custom-element/lib/split-code-sections.js"; import splitCodeSections from "../../../../../docs/js/graphics-element/lib/split-code-sections.js";
import performCodeSurgery from "../../../../../docs/js/custom-element/lib/perform-code-surgery.js"; import performCodeSurgery from "../../../../../docs/js/graphics-element/lib/perform-code-surgery.js";
import toPosix from "../../../../to-posix.js"; import toPosix from "../../../../to-posix.js";
// Get all the values we need to ensure our generated graphics code knows // Get all the values we need to ensure our generated graphics code knows
// where it lives, and where it can find all its dependencies // where it lives, and where it can find all its dependencies
const apiSource = fs.readFileSync(path.join(paths.sitejs, `custom-element`, `api`, `graphics-api.js`)).toString(`utf-8`); const apiSource = fs.readFileSync(path.join(paths.sitejs, `graphics-element`, `api`, `graphics-api.js`)).toString(`utf-8`);
const API_IMPORTS = apiSource.match(/(export { [^}]+ })/)[0].replace(`export`, `import`); const API_IMPORTS = apiSource.match(/(export { [^}]+ })/)[0].replace(`export`, `import`);
const GRAPHICS_API_LOCATION = path const GRAPHICS_API_LOCATION = path
.join(path.relative(paths.temp, paths.public), `js`, `custom-element`, `api`, `graphics-api.js`) .join(path.relative(paths.temp, paths.public), `js`, `graphics-element`, `api`, `graphics-api.js`)
.split(path.sep) .split(path.sep)
.join(path.posix.sep); .join(path.posix.sep);

View File

@@ -30,8 +30,8 @@
given how much HTML there is, that means this can, and thus should, kick in before the given how much HTML there is, that means this can, and thus should, kick in before the
document is done even transferring. document is done even transferring.
--> -->
<script src="./js/custom-element/graphics-element.js" type="module" async></script> <script src="./js/graphics-element/graphics-element.js" type="module" async></script>
<link rel="stylesheet" href="./js/custom-element/graphics-element.css" /> <link rel="stylesheet" href="./js/graphics-element/graphics-element.css" />
<!-- make images lazy load much earlier --> <!-- make images lazy load much earlier -->
<script src="./js/site/better-lazy-loading.js" type="module" async defer></script> <script src="./js/site/better-lazy-loading.js" type="module" async defer></script>