Skip to content
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

Jasmine/QUnit tests no longer bootstrap main app #198

Closed
wants to merge 2 commits into from

Conversation

fiznool
Copy link
Contributor

@fiznool fiznool commented Jan 18, 2013

Related to #195.

This commit moves the bootstrapping of the app from config.js to a new run.js script, which is started by the main index.html file, but not by the jasmine/qunit ones.

grunt.js also updated to ensure debug/release builds still work OK.

@tbranyen
Copy link
Owner

I'm not so sure about adding an additional run file just yet. Might be simple enough to require the config and override the deps property, which I'm pretty sure I've seen done already.

@tbranyen
Copy link
Owner

tbranyen commented Apr 7, 2013

I changed the app module to take on more application-like responsibility and changed the role of main. This allows us to not depend on so much coupling.

https://github.com/tbranyen/backbone-boilerplate/blob/wip/app/main.js

@tbranyen tbranyen closed this Apr 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants