Skip to content

Commit c1460be

Browse files
committed
Third time lucky
Signed-off-by: Itay Dafna <[email protected]>
1 parent 9d73440 commit c1460be

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

js/vegaexpr.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ import { MODULE_NAME, MODULE_VERSION } from './version';
1515
// manually create and bind that locale context to the format function.
1616
const locale = vegaFormat.defaultLocale();
1717
const dataflow = { context: { dataflow: { locale: () => locale } } };
18-
vegaFunctions.functionContext.format = vegaFunctions.functionContext.format.bind(
19-
dataflow,
20-
);
18+
vegaFunctions.functionContext.format =
19+
vegaFunctions.functionContext.format.bind(dataflow);
2120

2221
export class VegaExprModel extends WidgetModel {
2322
defaults() {

0 commit comments

Comments
 (0)