Skip to content

Lesson 3 - TypeError: Cannot read property '0' of undefined #3

@jasoniangreen

Description

@jasoniangreen

It seems that Easel.js have changed their api slightly, since I am sure this worked when I was using version 0.7.1. The offending line of code can be found in line 21 of app/lib/main.js. It seems they have moved the delta to the top level of the event.

var delta = event.delta;
this.rotation -= delta/1000*100;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions