emberjs-addons / sproutcore-utils

(Ember Only) Repository for the Ember Utils package
www.sproutcore.com
12 stars 3 forks source link

Can't get utils and statechart to work with latest 2.0 #3

Open ghost opened 12 years ago

ghost commented 12 years ago

I have included the latest jquery and the latest sproutcore libs from the download section:

        "vendor/sproutcore/jquery-1.7.1.min"
        "vendor/amber/sproutcore-master"
        "vendor/amber/sproutcore-utils"
        "vendor/amber/sproutcore-statechart"

I get this error:

Uncaught TypeError: undefined is not a function

from both utils and statechart.

Why is this and how do I get it to work?

bitmensch commented 12 years ago

I provided a fix for this error to sproutcore-statechart and sproutcore-utils some days ago. My fix for sproutcore-statechart has been already merged into master. The pull request for sproutcore-utils fix is still pending (see #2).

bitmensch commented 12 years ago

You may also have a look at sproutcore-storyboards which has been recently added to sproutcore20:master and seems to be the de-facto replacement for sproutcore-statecharts in sproutcore20.

ghost commented 12 years ago

Yeah I have already looked into that one. It doesn't support concurrent states yet and I have problems with some other functionalities.

I'll look into it again when its more mature.