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
Template:
This is just a basic template example
Job Options:
options: { partialRegex: /^/, processPartialName: function (filePath) { return filePath.replace(/^.*?templates\/(partials\/)?(.*?)\.(hbs|html)$/i, '$2'); }, amd: function amd(hbsFileName, ast) { var dependcies = ['Handlebars', 'plusMore']; return dependcies.join('\', \''); }, processContent: function processContent(content) { return content.replace(/^[\x20\t]+/mg, '') .replace(/[\x20\t]+$/mg, '') .replace(/^[\r\n]+/, '') .replace(/[\r\n]*$/, '\n'); } }
Expected:
define(['Handlebars', 'plusMore'], function(Handlebars) { var template; Handlebars.registerPartial("basic", template = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { return "This is just a basic template example\n"; },"useData":true})); return template; });
Actual
define(['Handlebars', 'plusMore'], function(Handlebars) { Handlebars.registerPartial("basic", Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { return "This is just a basic template example\n"; },"useData":true})); return ; });
Notice the return statment returns undefined, I would expect that it would return the partial/template no mater what.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Template:
Job Options:
Expected:
Actual
Notice the return statment returns undefined, I would expect that it would return the partial/template no mater what.
The text was updated successfully, but these errors were encountered: