We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6a29c0 commit a72c706Copy full SHA for a72c706
public/bower.json
@@ -6,7 +6,7 @@
6
"async": "1.4.2",
7
"d3": "3.5.6",
8
"draggabilly": "1.2.4",
9
- "esper": "0.4.0",
+ "esper": "0.4.1",
10
"jquery": "2.1.4",
11
"leaflet": "0.7.7",
12
"lodash": "3.10.1",
public/javascripts/layers/webgloverlay.js
@@ -58,13 +58,7 @@
58
var self = this,
59
shadersDone = $.Deferred(),
60
buffersDone = $.Deferred(),
61
- gl;
62
- // overwrite alert temporarily
63
- var alert = window.alert;
64
- window.alert = function() {};
65
- gl = this._gl = esper.WebGLContext.get( this._canvas );
66
- // restore alert
67
- window.alert = alert;
+ gl = this._gl = esper.WebGLContext.get( this._canvas );
68
// handle missing context
69
if ( !gl ) {
70
return;
0 commit comments