Skip to content

Conflict occurs in Electron with the global property 'root' #288

@abruzzihraig

Description

@abruzzihraig

In recent release version 0.2.4, the grunt file added some code like below:

 root = (typeof root !== 'undefined') ? root : {};
 factory((root.exports || (root.exports = {})), angular);

These code would be inserted to file angular-local-storage.js, and then it will cause an error in any web app which runs with Electron.

root = (typeof root !== 'undefined') ? root : {};

It needs to be fixed, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions