Skip to content

Commit 093efb8

Browse files
authored
Merge branch 'master' into fixBackbone1_6
2 parents d91b436 + 5451ff3 commit 093efb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Alloy/commands/compile/parsers/Alloy.Abstract.Option.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ function parse(node, state, args) {
2525

2626
if (attrName) {
2727
if (args.createArgs[attrName]) {
28-
code = `${attrVarName} = ${codePush} - 1`;
28+
code = `var ${attrVarName} = ${codePush} - 1`;
2929
} else {
30-
code = `${attrVarName} = undefined; ${codePush}`;
30+
code = `var ${attrVarName} = undefined; ${codePush}`;
3131
}
3232
}
3333

0 commit comments

Comments
 (0)