﻿WebComponentsIntro
------------------------------------------------------------------------------
Introduces Wijmo WebComponents v1 interop.

Installation
=============
- Run "npm install" in the sample's root folder.

Building and Running in NodeJS
===============================
WARNING: Webpack setup is not implemented yet.

SystemJS
--------
Execute
npm run start
command in the sample's root folder. 
The command will compile application .ts files and run 
the default.htm page in your default browser.


Building and Running in Visual Studio
=====================================
SystemJS
--------
Set default.htm as a default application page, and press F5 to
run the application.


Run ES2015 (ES6) code
======================
The sample in Wijmo download zip is set up to run ES5 code.
If you want to run its ES2015 (ES6) version you need to perform
the following additional steps:
- Install Wijmo from NpmImages/wijmo-es2015-commonjs-min folder,
  by changing the dependencies.wijmo option in the package.json
  file to a path to this npm image folder, and calling the 
  'npm install' command in the sample's folder.
  If you run the sample from its original location in the 
  Wijmo download zip, the setting will look like here:

"wijmo": "../../../../../NpmImages/wijmo-es2015-commonjs-min"

- Disable the custom-elements-es5-adapter.js polyfill, by commenting
  out the following <script> tag in the default.htm file:
<script src="node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>

- In the tsconfig.json file, change the 'target' option to es2015:
  "target": "es2015"
