Skip to content

Latest commit

 

History

History
 
 

demos

Demos

These demos are intended to demonstrate how to load this library in various ecosystems. The library is designed to be used in the web browser and in node contexts, using dynamic feature tests to pull in features when necessary. This works extremely well in common use cases: script tag insertion and node require.

Systems like webpack try to be clever by performing simple static analysis to pull in code. However, they do not support dynamic type tests, breaking compatibility with traditional scripts. Configuration is required. The demos cover basic configuration steps for various systems and should "just work".

Mobile app and other larger demos do not include the full build structure. The demos have Makefile scripts that show how to reproduce the full projects. The scripts have been tested against iOS and OSX. For Windows platforms, GNU make can be installed with Bash on Windows or with cygwin.

Included Demos

Frameworks and APIs

Bundlers and Tooling

Platforms and Integrations

Other examples are included in the showcase.

Analytics