Giter Club home page Giter Club logo

fleshy-jsoneditor's People

Contributors

brownieboy avatar dependabot[bot] avatar trystan2k avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

brownieboy

fleshy-jsoneditor's Issues

Fleshy blows up on current JSONEditor.

When I use Fleshy, it just blows up on start:

jsoneditor.min.js:formatted:367 Uncaught (in promise) TypeError: Cannot read property '$ref' of undefined
    at h._getExternalRefs (jsoneditor.min.js:formatted:367)
    at h._loadExternalRefs (jsoneditor.min.js:formatted:397)
    at h.init (jsoneditor.min.js:formatted:161)
    at new h (jsoneditor.min.js:formatted:134)
    at HTMLElement._initializeEditor (FleshyJsoneditor.js:245)
    at HTMLElement.firstUpdated (FleshyJsoneditor.js:152)
    at HTMLElement.performUpdate (updating-element.ts:772)
    at HTMLElement._callee$ (updating-element.ts:713)
    at tryCatch (runtime.js:45)
    at Generator.invoke [as _invoke] (runtime.js:274)

I did fiddle around and there is an options.schema value that is used by JSONEditor. Adding that in to the default options, it's a new error:

FleshyJsoneditor.js:247 Uncaught (in promise) TypeError: this.editor.set is not a function
    at HTMLElement._initializeEditor (FleshyJsoneditor.js:247)
    at HTMLElement.firstUpdated (FleshyJsoneditor.js:152)
    at HTMLElement.performUpdate (updating-element.ts:772)
    at HTMLElement._callee$ (updating-element.ts:713)
    at tryCatch (runtime.js:45)
    at Generator.invoke [as _invoke] (runtime.js:274)
    at Generator.prototype.<computed> [as next] (runtime.js:97)
    at asyncGeneratorStep (decorators.ts:421)
    at _next (decorators.ts:421)

Seems like the JSONEditor class is not the same one as expected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.