Skip to content

Commit a57eafc

Browse files
Update arrow function syntax to fix PlayBridgeJS example
1 parent 1a5555e commit a57eafc

File tree

1 file changed

+2
-2
lines changed
  • Examples/PlayBridgeJS/Sources/JavaScript

1 file changed

+2
-2
lines changed

Examples/PlayBridgeJS/Sources/JavaScript/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ export class BridgeJSPlayground {
4848
// Import the BridgeJS module
4949
const { init } = await import("../../.build/plugins/PackageToJS/outputs/Package/index.js");
5050
const { exports } = await init({
51-
getImports() {
51+
getImports: () => {
5252
return {
5353
createTS2Skeleton: this.createTS2Skeleton
54-
}
54+
};
5555
}
5656
});
5757
this.playBridgeJS = new exports.PlayBridgeJS();

0 commit comments

Comments
 (0)