Comparing version 2.0.9 to 2.1.1
@@ -32,2 +32,6 @@ "use strict" | ||
proto.unbind = function() { | ||
this.gl.bindBuffer(this.type, null) | ||
} | ||
proto.dispose = function() { | ||
@@ -34,0 +38,0 @@ this.gl.deleteBuffer(this.handle) |
{ | ||
"name": "gl-buffer", | ||
"version": "2.0.9", | ||
"version": "2.1.1", | ||
"description": "WebGL buffer wrapper", | ||
@@ -17,6 +17,9 @@ "main": "buffer.js", | ||
"gl-now": "^1.3.1", | ||
"glslify": "^1.4.0" | ||
"glslify": "^1.4.0", | ||
"smokestack": "^2.0.0", | ||
"tap-spec": "^1.0.1", | ||
"tape": "^3.0.1" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"test": "browserify ./test/index.js | smokestack | tap-spec", | ||
"start": "beefy --open example/example.js -- --transform glslify" | ||
@@ -23,0 +26,0 @@ }, |
@@ -12,3 +12,3 @@ gl-buffer | ||
var glslify = require("glslify") | ||
var createBuffer = require("../buffer.js") | ||
var createBuffer = require("gl-buffer") | ||
@@ -40,3 +40,3 @@ var createShader = glslify({ | ||
buffer = createBuffer(gl, [-1, 0, 0,-1, 1, 1]) | ||
//Create shader | ||
@@ -113,2 +113,2 @@ shader = createShader(gl) | ||
## Credits | ||
(c) 2013-2014 Mikola Lysenko. MIT License | ||
(c) 2013-2014 Mikola Lysenko. MIT License |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
1
112
9817
5
5
141