var Shader = new Class({
    initialize: function() {
    }
});

@@ -1,8 +1,10 @@
+%0A%0A
 var Shad
@@ -49,11 +49,790 @@
 ion(
-) %7B
+shaderId) %7B%0A        this.name = shaderId;%0A        var sourceElement = $(this.name);%0A        var typeString = sourceElement.get('type');%0A        if (typeString == 'x-shader/x-vertex') %7B%0A            this.type = gl.VERTEX_SHADER;%0A        %7D%0A        else if (typeString == 'x-shader/x-fragment') %7B%0A            this.type = gl.FRAGMENT_SHADER;%0A        %7D%0A%0A        this.shader = gl.createShader(this.type);%0A%0A        gl.shaderSource(this.shader, sourceElement.get('text'));%0A        gl.compileShader(this.shader);%0A%0A        if (!gl.getShaderParameter(this.shader, gl.COMPILE_STATUS)) %7B%0A            console.error('Could not compile shader ', this.name, '%5Cn',%0A                          gl.getShaderInfoLog(this.shader));%0A        %7D%0A    %7D,%0A%0A    getShader: function() %7B%0A        return (this.shader);
 %0A   

Add basic shader code