Skip to content

Globals clobbering other globals #185

Description

@ryanseddon

So I've been playing around with building a simple markdown component and that component uses showdown.js now I've started noticing weird behaviour where the callstack would randomly jump into showdown.js and it's due to the fact that both libraries have a forEach global where showdown wins as it's loaded after. It's defined in the lang.js file.

Does it really need to be a global? Showdown is global crazy but it'd be nice if polymer didn't create any globals.

Activity

  1. sjmiles commented on Jun 18, 2013

    @sjmiles
    Contributor

    There shouldn't be any globals apart from one for each polyfill, but there is still some cleanup work to do.

  2. tjsavage commented on Aug 22, 2014

    @tjsavage
    Contributor

    This should be fixed, please re-open if that's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions