-
Notifications
You must be signed in to change notification settings - Fork 70
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
Peaceful coexistence of user-supplied helpers #32
Comments
Sure, agree to make this tolerant. PR welcome:) |
as we have the same issue, i second that. :) |
Seems we can just change line #490 to merge into |
in lib/dust-helpers.js force a failing script loading order by reworking existing specRunners - server - sandwich dust.helpers.tapper assignment between dust and dust.helpers assignment - client - use LABjs to force a specific script-loading order to achieve equivalent effect as the server
I worked on this yesterday and have a working test case. There are two outstanding issues that I need help with before issuing a pull request. If anyone can help, that would be appreciated.
|
in lib/dust-helpers.js force a failing script loading order by reworking existing specRunners - server - sandwich dust.helpers.tapper assignment between dust and dust.helpers assignment - client - use LABjs to force a specific script-loading order to achieve equivalent effect as the server
1. LinkedInAtticGH-32 - populate dust.helpers using iteration 37d3b84 in lib/dust-helpers.js force a failing script loading order by reworking existing specRunners - server - sandwich dust.helpers.tapper assignment between dust and dust.helpers assignment - client - use LABjs to force a specific script-loading order to achieve equivalent effect as the server 2. mv specRunner2.js specRunner.js 28233cf 3. remove client spec runner 6b1b3ba it's now autogenerated from grunt build + enforcing a specific script load order seems like overkill 4. import testUtils bde96fe
…g dust.helpers
Helpers no longer clobber |
Currently, the dust-helper.js implementation will blow away any existing dust.helpers the user may have created. Could the code be a bit more tolerant and add the standard ones to an existing dust.helpers if it already exists.
I guess one could assert that the dependency order needs to be gotten correct and then this is not an issue but it adds another trap people can fall into.
The text was updated successfully, but these errors were encountered: