-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changed scope of d4 var to work with how browserify compiles #45
Conversation
Did you manually change the references to d4 in the compiled file? Because if so that won't work with the way the lib is compiled from parts. |
no, i only changed the base.js file and compiled with grunt |
Ok the compiled file looked a bit odd. Let me test your branch locally but if everything works i'll make a new release. Thanks! |
One final question, is there a way to give a minimal browserify test for this? How did you confirm this worked? |
good question. I found this tool browserify-test and ran this test which passed: var expect = require( 'chai' ).expect;
describe('browserify test', function() {
it('browserify should compile d4', function() {
var d4 = require( '../lib/d4.js' );
expect(d4).to.not.be.an('undefined');
});
}); let me know if that works. |
Awesome, can you integrate that with the existing test suite and append the PR you sent me? Thanks again for your hard work! Best Regards,
|
ok. no problem. I need to add grunt-browserify and a new task to run during |
Perfect, I’ll confirm it works for me and then merge.
|
No description provided.