Website

Check-in [cc5e2708f0]
Login
Overview
Comment:Remove need for babel polyfill.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cc5e2708f06247714d6b29fb9cf7497199a22c7dfeb62f9dd314971033c49289
User & Date: robin.hansen on 2020-11-16 04:48:48
Other Links: manifest | tags
Context
2020-11-16
05:17
Fill in selling points. check-in: a2219f0d80 user: robin.hansen tags: trunk
04:48
Remove need for babel polyfill. check-in: cc5e2708f0 user: robin.hansen tags: trunk
04:35
Better use of spacing on the frontpage. check-in: cd2216e109 user: robin.hansen tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Modified package-lock.json from [6d94a9b0de] to [87c23fcf50].

1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
      "integrity": "sha512-SqH4ClNngh/zGwHZOOQMTD+e8FGWexILV+ePMyiDJttAWRh5dhDL8rcl5lSgU3Huiq6Zn6pWTMvdPAb21Dwdyg==",
      "dev": true,
      "requires": {
        "@babel/helper-create-regexp-features-plugin": "^7.12.1",
        "@babel/helper-plugin-utils": "^7.10.4"
      }
    },
    "@babel/polyfill": {
      "version": "7.12.1",
      "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.12.1.tgz",
      "integrity": "sha512-X0pi0V6gxLi6lFZpGmeNa4zxtwEmCs42isWLNjZZDE0Y8yVfgu0T2OAHlzBbdYlqbW/YXVvoBHpATEM+goCj8g==",
      "dev": true,
      "requires": {
        "core-js": "^2.6.5",
        "regenerator-runtime": "^0.13.4"
      }
    },
    "@babel/preset-env": {
      "version": "7.12.1",
      "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.12.1.tgz",
      "integrity": "sha512-H8kxXmtPaAGT7TyBvSSkoSTUK6RHh61So05SyEbpmr0MCZrsNYn7mGMzzeYoOUCdHzww61k8XBft2TaES+xPLg==",
      "dev": true,
      "requires": {
        "@babel/compat-data": "^7.12.1",







<
<
<
<
<
<
<
<
<
<







1009
1010
1011
1012
1013
1014
1015










1016
1017
1018
1019
1020
1021
1022
      "integrity": "sha512-SqH4ClNngh/zGwHZOOQMTD+e8FGWexILV+ePMyiDJttAWRh5dhDL8rcl5lSgU3Huiq6Zn6pWTMvdPAb21Dwdyg==",
      "dev": true,
      "requires": {
        "@babel/helper-create-regexp-features-plugin": "^7.12.1",
        "@babel/helper-plugin-utils": "^7.10.4"
      }
    },










    "@babel/preset-env": {
      "version": "7.12.1",
      "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.12.1.tgz",
      "integrity": "sha512-H8kxXmtPaAGT7TyBvSSkoSTUK6RHh61So05SyEbpmr0MCZrsNYn7mGMzzeYoOUCdHzww61k8XBft2TaES+xPLg==",
      "dev": true,
      "requires": {
        "@babel/compat-data": "^7.12.1",

Modified package.json from [c0d540d10b] to [7f20689870].

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21



22
    "start": "parcel src/index.html",
    "build": "parcel build src/index.html --no-source-maps",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Robin Heggelund Hansen",
  "license": "MIT",
  "devDependencies": {
    "@babel/polyfill": "^7.12.1",
    "elm": "^0.19.1-3",
    "elm-format": "^0.8.4",
    "elm-hot": "^1.1.5",
    "node-elm-compiler": "^5.0.5",
    "parcel": "^1.12.4",
    "wabt": "^1.0.19"
  }



}







<






|
>
>
>

7
8
9
10
11
12
13

14
15
16
17
18
19
20
21
22
23
24
    "start": "parcel src/index.html",
    "build": "parcel build src/index.html --no-source-maps",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "Robin Heggelund Hansen",
  "license": "MIT",
  "devDependencies": {

    "elm": "^0.19.1-3",
    "elm-format": "^0.8.4",
    "elm-hot": "^1.1.5",
    "node-elm-compiler": "^5.0.5",
    "parcel": "^1.12.4",
    "wabt": "^1.0.19"
  },
  "browserslist": [
    "last 1 Chrome version"
  ]
}

Modified src/playground.js from [515ec060c9] to [47a40cf4e8].

1
2
3
4
5
6
7
8
9
10
import { Elm } from './Playground.elm';
import Compiler from '../../play/wasm_tests/compiler';
import '@babel/polyfill';
import wabtInit from 'wabt';

const app = Elm.Playground.init({
  node: document.getElementById('elm-app')
});

app.ports.compileSource.subscribe(source => {


<







1
2

3
4
5
6
7
8
9
import { Elm } from './Playground.elm';
import Compiler from '../../play/wasm_tests/compiler';

import wabtInit from 'wabt';

const app = Elm.Playground.init({
  node: document.getElementById('elm-app')
});

app.ports.compileSource.subscribe(source => {