Skip to content

Commit 0bd2ed3

Browse files
committed
Fix things that were missed when renaming the plugin, v1.0.3
1 parent ab89931 commit 0bd2ed3

File tree

12 files changed

+22528
-35828
lines changed

12 files changed

+22528
-35828
lines changed

block.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
{
22
"apiVersion": 2,
33
"name": "zebra-north/display-webgl-shader",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"title": "Display WebGL Shader",
66
"category": "media",
77
"icon": "format-video",
88
"description": "Display a WebGL fragment shader compatible with Shadertoy",
9-
"keywords": ["webgl", "shader", "glsl", "opengl"],
9+
"keywords": [
10+
"webgl",
11+
"shader",
12+
"glsl",
13+
"opengl"
14+
],
1015
"supports": {
1116
"html": false
1217
},

build/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '0ba280a66a6306c40a45f446bc7d6361');
1+
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '9f2dbca7ae236027db21d39178f6034c');

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/style-index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
.wp-block-zebra-north-webgl-shader{color:#fff;padding:2px}.wp-block-zebra-north-webgl-shader textarea{font-family:"Courier New",Courier,monospace;border:1px solid #ddd;border-radius:4px}
1+
.wp-block-zebra-north-display-webgl-shader{color:#fff;padding:2px}.wp-block-zebra-north-display-webgl-shader textarea{border:1px solid #ddd;border-radius:4px;font-family:Courier New,Courier,monospace}

display-webgl-shader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ function webglShader(fragmentShaderSource)
283283
}
284284

285285
// Create a <canvas> element on which to draw the shader.
286-
const canvasId = 'webgl-shader-' + id++;
287-
document.write('<canvas id="' + canvasId + '" class="zebra-north-webgl-shader" width="640" height="360"></canvas>')
286+
const canvasId = 'display-webgl-shader-' + id++;
287+
document.write('<canvas id="' + canvasId + '" class="zebra-north-display-webgl-shader" width="640" height="360"></canvas>')
288288

289289
// Initialise the shader when the page has finished loading.
290290
window.addEventListener('DOMContentLoaded', () => main(canvasId, getVertexShaderSource(), getFragmentShaderSource(fragmentShaderSource)));

display-webgl-shader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: Display a WebGL shader
55
* Requires at least: 5.8
66
* Requires PHP: 7.0
7-
* Version: 1.0.2
7+
* Version: 1.0.3
88
* Author: Zebra North
99
* License: GPLv3
1010
* License URI: https://www.gnu.org/licenses/gpl-3.0.en.html

0 commit comments

Comments
 (0)