aboutsummaryrefslogtreecommitdiff
path: root/src/library_glut.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-06 10:16:44 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-06 10:16:44 -0700
commitcde05cae5f86f11b06262e83c8800a04ed8cecf8 (patch)
tree49e16f96a426d34da2ffc03d36738c0fda5f1170 /src/library_glut.js
parentece05869dba8c7d2fe28612f2e535c2bfdb9447e (diff)
remove some unneeded closure string quoting
Diffstat (limited to 'src/library_glut.js')
-rw-r--r--src/library_glut.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library_glut.js b/src/library_glut.js
index d538cc7a..d256599c 100644
--- a/src/library_glut.js
+++ b/src/library_glut.js
@@ -36,13 +36,13 @@ var LibraryGLUT = {
},
onMousemove: function(event) {
- /* Pierre: Send motion event only if the motion changed, prevents
+ /* Send motion event only if the motion changed, prevents
* spamming our app with uncessary callback call. It does happen in
* Chrome on Windows.
*/
var newX = event['clientX'] - Module['canvas'].offsetLeft;
var newY = event['clientY'] - Module['canvas'].offsetTop;
- if (newX == GLUT['lastX'] && newY == GLUT['lastY'])
+ if (newX == GLUT.lastX && newY == GLUT.lastY)
return;
GLUT.savePosition(event);