reTHINK-project / dev-service-framework

DEPRECATED! Service framework libs have been moved to dev-runtime-core repo
Apache License 2.0
1 stars 2 forks source link

RuntimeCatalogue Illegal invocation #52

Closed dvilchez closed 8 years ago

dvilchez commented 8 years ago

Since commit 4389ce59fe48f26814eec77cdbeb2f458e83c92d runtime catalog is failing with this error:

screen-shot-2016-07-22-09-31-29
vitormsilva commented 8 years ago

The runtime catalogue had a change to be compatible with node js base64 decode. Was added to the runtime catalogue the following:

_this.atob = runtimeFactory.atob ? runtimeFactory.atob : atob;

I think if you add the following to the RuntimeFactory of runtime-browser, should work and solve the problem:

const RuntimeFactory = Object.create({
    //....
    atob(b64) {
      return atob(b64);
    },
    //...
});
dvilchez commented 8 years ago

Added