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

add requirejs plugin for replacing global variables with required module #7

Merged
merged 3 commits into from
Jul 23, 2013
Merged

Conversation

tristanguo
Copy link
Contributor

No description provided.


while (m = pattern.exec(hashVal)) {
if (m[1] === EXPORTS) {
scriptText += "\nreturn " + m[2]; + ";\n";
Copy link
Member

Choose a reason for hiding this comment

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

Think we have a little problem there, I think what you meant was

scriptText += ";\nreturn " + m[2] + ";\n";

mikaelkaron added a commit that referenced this pull request Jul 23, 2013
add requirejs plugin for replacing global variables with required module
@mikaelkaron mikaelkaron merged commit 7efdb1f into troopjs:develop Jul 23, 2013
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