Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* separated out template example html to file * removed temporary comment * Added comment to explain template replacements * setup barebones examples module * removed examples-new testing; app.html (unused) * moved files around for better organization * checked in thumbnails to have defaults * removed unused enableHotReload file * Removed unused importmap file * renamed directory and generate standalone files to more descriptive names and commented scripts * fixed watching standalone files * removed example data generation and embedded into helper * removed log in example-data helper * object cleanup in example data * removed options.js; moved assetPath inside app folder * replaced all thumbnails from png to webp * fixed monaco dark issue * change github link to use main branch * renamed pathes to paths * fixed path rename in example template * removed unused example data object * removed unused import in standalone generation * put sharing html files into single subfolder instead of combining folder structure with other dist elements * removed unused polyfill functions * fixed getDeviceType * split up floating functions into utils, extracted polyfill function, simplified engine setting, handled event cleanup in menu * removed unused polyfill files * updated event types to use CustomEvent * made events consistent and made handlers private methods * moved components into subfolder * renamed components to use uppercase (convention) * minor refactor for object * fixed ready scope issue * changed separate methods for events into fire method handler * updated stats to use single event for setting state; added back delay for code editor resize * cleaned up iframe code * moved example and controls to body of html (prep for module import); added clean script * fixed issue with controls showing up with no content * cleaned up case conversion * extracted metadata from examples into separate file * extracted all examples path searching into a single file * included loadES5 in utils module when loaded * added first version of metadata building for examples * calculated default example files inside sidebar class * updated formatting and naming for scripts * refactor for async standalone html * fixed import bug on windows * modified metadata generation to derive info from directory over import resolution * removed index files * examples loaded in from module * fixed tween loading issue * put es5 lib loading into example (temporary) and removed tween library * removed import map (temporary); entire module script loaded * remove unused imports injection * removed umused es5lbis injection * added blob cleanup on unload * extracted pcx from args since its in global scope * hoisted class props to top of file * reverted include pcx in examples and put fire into utils * removed global paths to use static locations * moved canvas to inside each example * removed unused canvas element in example template * removed generating empty module * added class config to metadata * prebuild config for each example and pass in as module * cleaned up examples config * changed exporting of example classes format to all be the same * removed each example class and replaced with exports for controls and example * remove examples args; put data in window scope and getDeviceType in utils * extracted ministats info into separate module * Cleaned up app starting * fixed types for example ministats module * in process of separating controls and example functions into separate files * finished split of examples and controls into separate files * Updated controls build to use module style * Changed default controls for each example * refactor to use local setType in gizmo example * added import pc to top of controls file (fixes linting) * Removed example function and eslint fix attempt for all examples * eslint fix attempt for all examples * fixed all examples to use single quotes * Updated examples only module names * added canvas check to each example * fixed error restart for example * Disabled regenerating controls every change to code editor * updated monaco editor * formatted and removed unused vars in components * added placeholder object for files for module import * remove files object from global scope * added files module comment * added syntax highlighting to shaders * fixed focusing in gizmo example * reverted monaco update * fixed pathing issue * renamed assetPaths to paths * renaming components to uppercase * fixed pathing issue with double slash * updated getDeviceType to deviceType * moved observer to module; created loader class for example; fixed multi app hot reload error * inserted observer into examples * moved loader to separate file and cleaned up exposing attributes and functions * fixed abstracting requestedFiles event fire * removed temporary thumbnail files * Update examples/iframe/files.mjs Co-authored-by: Will Eastcott <will@playcanvas.com> * removed unnecessary ts-ignore * added config files for each example * fixed config path type and added in build standalone * cleaned up glsl code in example config * removed old examples.config.mjs * cleaned up metadata path * removed empty controls files and used template instead * fixed thumbnail generation and use kebab case in all cases * updated typing to use custom event interface * updated readme for examples to include new documentation * fixed config setting to index default prop in standalone-html * replaced umd observer with mjs version * removed mapping for internal modules; removed documentation in readme * fixed spacing in loader * updated playcanvas to use es6 build over es5 * updated extras to use module build * added pcx import to misc examples * fixed webgpu hot restart error; fixed reclick on example error * linting fix in sidebar * changed wgsl example format to new system * converted wgsl to use new system * added wgsl syntax highlighting and updated glsl highlight * refactored themes and languages into monaco folder * added thumbnails for wgsl shader * added hidden functionality back when generating metadata --------- Co-authored-by: Will Eastcott <will@playcanvas.com>
- Loading branch information