aboutsummaryrefslogtreecommitdiff
path: root/src/library_browser.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-11-25 10:32:23 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-11-25 10:32:23 -0800
commit054df391e65ff6e9f2f494176990d6bc2558881f (patch)
treebe81b33a9871ce36fb72e4f0d48a10b9f846ec53 /src/library_browser.js
parentda23764aa8d5bfe3189cd5c472363fc298b6d5b2 (diff)
fix typo in onContextCreationError
Diffstat (limited to 'src/library_browser.js')
-rw-r--r--src/library_browser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_browser.js b/src/library_browser.js
index fbc609d7..28eaa17e 100644
--- a/src/library_browser.js
+++ b/src/library_browser.js
@@ -252,7 +252,7 @@ mergeInto(LibraryManager.library, {
var errorInfo = '?';
function onContextCreationError(event) {
- errorInfo = e.statusMessage || errorInfo;
+ errorInfo = event.statusMessage || errorInfo;
}
canvas.addEventListener('webglcontextcreationerror', onContextCreationError, false);
try {