ruffle/web/packages/core/src
relrelb d27e29bd26 web: Mark TypeScript enums as const
Unlike regular enums, const enums are completely removed during
compilation, and as such are zero-cost in bundle size terms.
Since it is not possible to query the possible values of a const
enum at runtime, adapt the `autoplay` and `unmuteOverlay` validation
logic.
2021-09-24 20:38:44 +03:00
..
.eslintrc.json web: Fix and cleanup npm build scripts 2021-07-17 11:40:25 +03:00
config.ts web: Remove `config.publicPaths` 2021-09-08 02:25:05 -07:00
context-menu.d.ts core: Support for custom context menu items on movie root 2021-05-02 15:28:00 -07:00
globals.d.ts web: Set `__webpack_public_path__` in `load-ruffle.ts` 2021-09-08 02:25:05 -07:00
index.ts web: Merge streamSwfUrl and streamSwfData into load 2020-11-25 11:33:51 -08:00
js-polyfills.ts web: improve typescript types 2021-06-05 10:12:59 -07:00
load-options.ts web: Mark TypeScript enums as const 2021-09-24 20:38:44 +03:00
load-ruffle.ts web: Set `__webpack_public_path__` in `load-ruffle.ts` 2021-09-08 02:25:05 -07:00
movie-metadata.ts web: Add MovieData.isActionScript3 and backgroundColor 2021-05-23 23:02:38 -07:00
plugin-polyfill.ts web: improve typescript types 2021-06-05 10:12:59 -07:00
polyfills.ts web: Remove `config.publicPaths` 2021-09-08 02:25:05 -07:00
public-api.ts web: Fix lint warnings 2021-06-23 15:04:54 +03:00
public-path.ts web: Fix `publicPath()` being called from non-global scope 2021-09-08 02:25:05 -07:00
register-element.ts web: Fix lint warnings 2021-06-23 15:04:54 +03:00
ruffle-embed.ts web: Support salign, quality, & scale embed/object attributes (part of #4258) 2021-09-08 16:25:47 -07:00
ruffle-imports.ts web: Enforce (sensible) documentation 2020-11-24 16:36:33 -08:00
ruffle-object.ts web: Support salign, quality, & scale embed/object attributes (part of #4258) 2021-09-08 16:25:47 -07:00
ruffle-player.ts web: Mark TypeScript enums as const 2021-09-24 20:38:44 +03:00
shadow-template.ts web: Unify "menu_item" and "active" CSS classes 2021-07-13 23:45:18 +03:00
source-api.ts web: Fix issues with iframe polyfill 2020-12-09 17:01:20 -08:00
version-range.ts web: Fix lint warnings 2021-06-23 15:04:54 +03:00
version.ts web: Enforce (sensible) documentation 2020-11-24 16:36:33 -08:00