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

shareNice is built with a custom perl template #15

Open
graingert opened this issue Jun 16, 2012 · 1 comment
Open

shareNice is built with a custom perl template #15

graingert opened this issue Jun 16, 2012 · 1 comment

Comments

@graingert
Copy link
Contributor

A cleaner solution would be to use RequireJS:

require(["helper/settings"], function(settings) {
var domain = settings.domain;
...
});

@graingert
Copy link
Contributor Author

You can also pre-compile the code when configuring the server to avoid requiring that the client load multiple files

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

No branches or pull requests

1 participant