diff --git a/src/Shader.js b/src/Shader.js index f115f75..2a06f1e 100644 --- a/src/Shader.js +++ b/src/Shader.js @@ -207,4 +207,4 @@ export var Shader = GObject.registerClass({ // Add a trailing newline. Else the GLSL compiler complains... return common + '\n' + code + '\n'; } -}); +}); \ No newline at end of file diff --git a/src/ShaderFactory.js b/src/ShaderFactory.js index b828e86..06fbea7 100644 --- a/src/ShaderFactory.js +++ b/src/ShaderFactory.js @@ -91,4 +91,4 @@ export default class ShaderFactory { return shader; } -} +} \ No newline at end of file diff --git a/src/utils.js b/src/utils.js index 9da0f29..ba87286 100644 --- a/src/utils.js +++ b/src/utils.js @@ -172,21 +172,4 @@ export function parseColor(string) { return [color.red / 255, color.green / 255, color.blue / 255, color.alpha / 255]; -} - - -// used for searching -// Simple fuzzy match function -// NOTE: i'll improve the fuzzy function before rolling this out -/* -function fuzzyMatch(text, query) { - let queryIndex = 0; - for (let i = 0; i < text.length && queryIndex < query.length; i++) { - if (text[i] === query[queryIndex]) { - queryIndex++; - } - } - return queryIndex === query.length; // Returns true if all chars in query matched in -order -} -*/ \ No newline at end of file +} \ No newline at end of file