Skip to content

Commit with no function causes it to blow up #170

@jrgleason

Description

@jrgleason

I have code that uses transactions. It adds a bunch of nodes, however, when everything is done there are no side effects so I tried the following..

transaction.commit();

This blows up saying the function is undefined but this...

transaction.commit(function(){});

Works fine, maybe we should use a quick null check to see if it needs called.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions