Skip to content

ES5 AMD (i.e. Rhino/NetSuite compatible) build? #274

Open
@ShawnTalbert

Description

@ShawnTalbert

Hello, I'd love to use RxJS in NetSuite (which uses an ES5.1 compatible version of the Rhino JS engine behind the scenes).

I've tried several of the existing builds, but none seem to work. The most promising one for this ES5.1 /AMD compatible environment seemed to be @reactivex/ix-es5-umd but it fails when their loader tries to load it with (I also tried using Ix.dom.js:

{"type":"error.SuiteScriptModuleLoaderError","name":"UNEXPECTED_ERROR","message":"missing : after property id (/SuiteScripts/Ix.dom.internal.js#220)","stack":[]}

I realize ES5.1 is a bit old, but this is my ask for a build we can use in this environment (an environment which I don't control.)

p.s. I also noticed references to Symbol.iterator in the ES5 build which isn't part of ES5 so that confuses me a bit. , so not sure if the ES5 build is polyfilling that or what.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions