WordPress.org

Ready to get started?Download WordPress

Forums

Vimeo Channel Gallery
Uncaught SyntaxError: Unexpected token # (1 post)

  1. B
    Member
    Posted 1 year ago #

    Just to report a javascript bug, that needs fixing.

    On line 17:
    var data = JSON.parse(e.data);
    should read:
    var data = e.data;

    The data is already json.
    Trying to parse it twice throws an: "Uncaught SyntaxError: Unexpected token #" console error.

    You could also simplify by just doing:
    switch (e.data.event)

    Thanks

    http://wordpress.org/extend/plugins/vimeo-channel-gallery/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic