Comparing version 0.3.5 to 0.3.6
@@ -63,8 +63,4 @@ "use strict"; | ||
var gl = getWebGLRenderingContext(webGLVersion); | ||
var floatExtension; | ||
var colorBufferFloatExtension; | ||
if (webGLVersion === 1) { | ||
floatExtension = gl.getExtension('OES_texture_float'); | ||
colorBufferFloatExtension = gl.getExtension('WEBGL_color_buffer_float'); | ||
if (floatExtension == null || colorBufferFloatExtension == null) { | ||
if (gl.getExtension('OES_texture_float') == null) { | ||
return false; | ||
@@ -74,4 +70,3 @@ } | ||
else { | ||
colorBufferFloatExtension = gl.getExtension('EXT_color_buffer_float'); | ||
if (colorBufferFloatExtension == null) { | ||
if (gl.getExtension('EXT_color_buffer_float') == null) { | ||
return false; | ||
@@ -78,0 +73,0 @@ } |
@@ -1,2 +0,2 @@ | ||
declare const version = "0.3.5"; | ||
declare const version = "0.3.6"; | ||
export { version }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var version = '0.3.5'; | ||
var version = '0.3.6'; | ||
exports.version = version; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "deeplearn", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "Hardware-accelerated JavaScript library for machine intelligence", | ||
@@ -5,0 +5,0 @@ "private": false, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1444115
202
24491