build and dist creating bad files #37

Closed
kn0ll opened this Issue Sep 7, 2012 · 1 comment

2 participants

@kn0ll

hi,

when i run ./build from the src dir without changing any files, it creates a new Audiolet.js file which differs from the distributed one. when i include it using the Sine example from the readme, i get this error:

Uncaught ReferenceError: Sink is not defined Audiolet.js:707

it seemed that the sink definition was non-existent in Audiolet.js. on a whim, i tried changing the globbing in the build file from sink.js/*.js to sink.js/**/*.js- which actually resolved that issue (and included the Sink definition), but brought upon two new errors:

Uncaught TypeError: Cannot set property 'EventEmitter' of undefined Audiolet.js:5715
Uncaught TypeError: Property 'Sink' of object [object Window] is not a function Audiolet.js:707

i'd keep going down the rabbit hole trying to resolve it but i wanted to see if i was missing something? i am using juicer 1.0.16. thanks!

@oampo oampo closed this in 52770c5 Sep 10, 2012
@oampo
Owner

Cheers for the report. Have updated the build script so it first builds sink.js, then builds Audiolet using that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment