Created
August 7, 2013 22:39
-
-
Save danfinlay/6179542 to your computer and use it in GitHub Desktop.
When running this function requesting "voxel-hello-world" I'm getting a strange error:
ReferenceError: Can't find variable: voxel This is both strange because
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function fetchBundle(bundleName, preferredVersions, cb){ | |
| var er = sandbox.bundle(bundleName, null) | |
| sandbox.on('bundleEnd', function(html){ | |
| //Just to test, this IS returning bundle HTML, so I seem to be calling sandbox.bundle() correctly. | |
| }) | |
| sandbox.on('modules', function(packages){ | |
| //This event is never being thrown. | |
| }) | |
| if(er){ | |
| console.log("Sandbox error: "+er) //This error never gets returned. | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment