We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'd love to see the possibility of returning a partial template when wrapping with AMD.
For example something like this:
partials.push('var partialTemplate = ' + compiled + ';'); if (options.partialsUseNamespace === true) { partials.push('Handlebars.registerPartial('+JSON.stringify(filename)+', '+nsInfo.namespace+'['+JSON.stringify(filename)+'] = partialTemplate);'); } else { partials.push('Handlebars.registerPartial('+JSON.stringify(filename)+', partialTemplate);'); } if(options.amd && options.namespace === false) { partials.push('return partialTemplate;'); }
The text was updated successfully, but these errors were encountered:
Add return statement to partials for AMD gruntjs#76
d2cfe24
9f9e140
Add return statement to partials for AMD, issue gruntjs#76
ff60d51
No branches or pull requests
I'd love to see the possibility of returning a partial template when wrapping with AMD.
For example something like this:
The text was updated successfully, but these errors were encountered: