~evanj/wigly

bd128329c973eb88b3a66f8102879504b8dad16a — Evan Jones 1 year, 7 months ago d045ca0
thenable components, fix for promise polyfilling
2 files changed, 2 insertions(+), 2 deletions(-)

M package.json
M src/wigly/transformer.js
M package.json => package.json +1 -1
@@ 1,6 1,6 @@
{
  "name": "wigly",
  "version": "0.5.15",
  "version": "0.5.16",
  "main": "dist/wigly.es5.js",
  "scripts": {
    "start": "npm run start:clean && npm run start:gcc && npm run start:gzip",

M src/wigly/transformer.js => src/wigly/transformer.js +1 -1
@@ 122,7 122,7 @@ export let transformer = (spec, getEnv, giveEnv, giveVDOM, updateVDOM) => {
      );
    };

    if (res instanceof Promise) {
    if (typeof res.then !== "undefined") {
      res.then(file => {
        setCurrentlyExecutingComponent(self);
        res = file.default({ ...props, children });