Skip to content

Loading…

Fixed demo referencing itself improperly #7

Merged
merged 1 commit into from

2 participants

@brian-gates

No description provided.

@maxogden
Owner

nice try slippin the semicolons in there :P merging it anyway

@maxogden maxogden merged commit 26a896b into maxogden:master
@maxogden maxogden added a commit that referenced this pull request
@maxogden make demo use a relative require from #7 165862a
@brian-gates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 25, 2014
  1. Fixed demo referencing itself improperly

    Brian Gates committed
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 6 deletions.
  1. +6 −6 demo.js
View
12 demo.js
@@ -1,11 +1,11 @@
-var workerstream = require('workerstream')
+var workerstream = require('./index');
-var worker = workerstream('demo-worker.js')
+var worker = workerstream('demo-worker.js');
worker.on('data', function(data) {
- console.log(new Uint8Array(data))
-})
+ console.log(new Uint8Array(data));
+});
var ab = new ArrayBuffer( 10 );
-worker.write( ab )
-worker.end()
+worker.write( ab );
+worker.end();
Something went wrong with that request. Please try again.