From 4bad904feca0ff93c36baac651f8da5e29d6461b Mon Sep 17 00:00:00 2001 From: Ernesto Borio Date: Fri, 26 Mar 2021 09:56:36 -0300 Subject: [PATCH] Typo fixes in README.md I changed "catched" -> "cached" assuming it meant cache, and not catch. In that (unlikely) case, it would be "caught" instead. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ac9a0ac..f9230ec 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ As you can see, in this example we are loading the fragment shader by setting th * ```data-vertex-url``` : load a vertex shader by providing a valid url * ```data-textures```: add a list of texture urls separated by commas (ex: ```data-textures="texture.jpg,normal_map.png,something.jpg"```). Textures will be assigned in order to ```uniform sampler2D``` variables with names following this style: ```u_tex0```, ```u_tex1```, ```u_tex2```, etc. -All the catched ```.glslCanvas``` element whill be stored in the ```windows.glslCanvases``` array. +All the cached ```.glslCanvas``` elements will be stored in the ```windows.glslCanvases``` array. ### The JS way @@ -48,11 +48,11 @@ var canvas = document.createElement("canvas"); var sandbox = new GlslCanvas(canvas); ``` -In the case you need to reload the +In case you need to reload the shader: ### Reloading shaders from JS -You can change the content of the shader as many times you want. Here are some examples: +You can change the content of the shader as many times as you want. Here are some examples: ```javascript // Load only the Fragment Shader