Skip to content

Instantly share code, notes, and snippets.

@jed
Created September 1, 2011 06:22
Show Gist options
  • Save jed/1185578 to your computer and use it in GitHub Desktop.
Save jed/1185578 to your computer and use it in GitHub Desktop.
Object.keys({
attachShader:1,
createProgram:1,
linkProgram:1,
createBuffer:1,
bindBuffer:1,
bufferData:1,
viewport:1,
createShader:1,
shaderSource:1,
compileShader:1,
useProgram:1,
getAttribLocation:1,
getUniformLocation:1,
uniform1f:1,
uniform2f:1,
vertexAttribPointer:1,
enableVertexAttribArray:1,
drawArrays:1
}).map(function(x){ return x[1] + x[7] }).sort()
// ["ei", "eo", "et", "ho", "if", "ig", "it", "n1", "n2", "ne", "oS", "ra", "rh", "rr", "ru", "sr", "th", "ua"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment