summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/examples/demo
diff options
context:
space:
mode:
Diffstat (limited to 'native_client_sdk/src/examples/demo')
-rw-r--r--native_client_sdk/src/examples/demo/nacl_io/example.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/native_client_sdk/src/examples/demo/nacl_io/example.js b/native_client_sdk/src/examples/demo/nacl_io/example.js
index 6de6afb..0ccaf7d 100644
--- a/native_client_sdk/src/examples/demo/nacl_io/example.js
+++ b/native_client_sdk/src/examples/demo/nacl_io/example.js
@@ -12,8 +12,8 @@ function domContentLoaded(name, tc, config, width, height) {
function(bytes) {
common.updateStatus(
'Allocated ' + bytes + ' bytes of persistant storage.');
- common.createNaClModule(name, tc, config, width, height);
common.attachDefaultListeners();
+ common.createNaClModule(name, tc, config, width, height);
},
function(e) { alert('Failed to allocate space') });
}