Skip to content

Commit

Permalink
Fix for legacy client #410
Browse files Browse the repository at this point in the history
Merge pull request #410 from meteor/fix/legacy-client-syntax-errors
  • Loading branch information
jankapunkt authored Apr 7, 2023
2 parents 646383b + 8a9f140 commit 892ea04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/observe-sequence/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Package.onUse(function (api) {
api.use('mongo-id@1.0.8'); // for idStringify
api.use('diff-sequence@1.1.1');
api.use('random@1.2.0');
api.use('ecmascript@0.13.2');
api.export('ObserveSequence');
api.addFiles(['observe_sequence.js']);
});
Expand Down
2 changes: 1 addition & 1 deletion packages/templating-tools/code-generation.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function generateTemplateJS(name, renderFuncCode, useHMR) {
return `
Template._migrateTemplate(
${nameLiteral},
new Template(${templateDotNameLiteral}, ${renderFuncCode}),
new Template(${templateDotNameLiteral}, ${renderFuncCode})
);
if (typeof module === "object" && module.hot) {
module.hot.accept();
Expand Down

0 comments on commit 892ea04

Please sign in to comment.