Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 1 addition & 14 deletions examples/typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/typescript/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as spsFrontend from "@tensorworks/lib-spsfrontend";
import * as spsFrontend from "@tensorworks/libspsfrontend";

// Apply default styling from Epic's frontend
export const PixelStreamingApplicationStyles = new spsFrontend.PixelStreamingApplicationStyle();
Expand All @@ -12,7 +12,7 @@ document.body.onload = function () {

// Create a Native DOM delegate instance that implements the Delegate interface class
const stream = new spsFrontend.PixelStreaming(config);
const spsApplication = new spsFrontend.SPSApplication({
const spsApplication = new spsFrontend.SPSApplication({
stream,
onColorModeChanged: (isLightMode) => PixelStreamingApplicationStyles.setColorMode(isLightMode) /* Light/Dark mode support. */
});
Expand Down