Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

fixes 252 The require.js version doesn't generate tests. #393

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mteodori
Copy link
Contributor

No description provided.

@mteodori mteodori force-pushed the issue-252 branch 2 times, most recently from 0865980 to cb8f58a Compare March 24, 2016 16:14
);
this._generate('view', {
'jst_path': this.jst_path
});

if (!this.options.requirejs) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why only this if block stay? is it an exception or was it forgotten here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's ok, script block for files should be added to index.html only if requirejs is not being used, I was implementing it also for test/index.html but the function to insert the script blocks is a bit fragile as it requires a good placeholder and it inserts before that rather than after and that made everything difficult as the file test/index.html comes from generator-mocha

@ruyadorno
Copy link
Contributor

Thank you very much for the fix+refactor, this is looking awesome 😄

@ruyadorno
Copy link
Contributor

oops, looks like this one needs a rebase now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants