You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.contextLossListener=function(event){event.preventDefault();newContextLossFailureDialog().show();if(document.domain==='phet.colorado.edu'){window._gaq&&window._gaq.push(['_trackEvent','WebGL Context Loss','neuron'+phet.joist.sim.version,document.URL]);}};// set up a handler for context loss - this will just put up a dialog, better handling may exist eventuallygl.canvas.addEventListener('webglcontextlost',this.contextLossListener);
This code should be factored out. @jonathanolson volunteered to handle this, and determine the appropriate place for it.
The text was updated successfully, but these errors were encountered:
This is also related to phetsims/joist#411. The usage of phet.joist.sim.version should be replaced with whatever abstraction is provided for the version identifier.
3/9/17 dev meeting:
Molecule Shapes (phetsims/molecule-shapes#147) and Neuron (phetsims/neuron#134) contain duplicate code for handling WebGL context loss.
MoleculeShapes.MoleculeShapesScreenView:
Neuron.ParticlesWebGLNode:
This code should be factored out. @jonathanolson volunteered to handle this, and determine the appropriate place for it.
The text was updated successfully, but these errors were encountered: