MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / addKeywords

Function addKeywords

src/tailwind/Animations/SplashCursor/SplashCursor.jsx:214–221  ·  view source on GitHub ↗
(source, keywords)

Source from the content-addressed store, hash-verified

212 }
213
214 function addKeywords(source, keywords) {
215 if (!keywords) return source;
216 let keywordsString = '';
217 keywords.forEach(keyword => {
218 keywordsString += '#define ' + keyword + '\n';
219 });
220 return keywordsString + source;
221 }
222
223 const baseVertexShader = compileShader(
224 gl.VERTEX_SHADER,

Callers 1

compileShaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected