-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'prototype' of undefined #127
Comments
Hi, Zappa has not been updated by mauricemach for a long long time, now you should use https://github.com/zappajs/zappajs instead. You just have to replace For me, it solved this issue. |
ok, working now. Thanks again |
What do you mean by inline views? Do you mean including views from coffeecup files? |
yes, including views from coffee files Thank you 2012/8/30 Adrien Antoine [email protected]
|
To include coffeecup view, it's very simple: |
i have a vista1.coffee inside views to test @view vista1: -> when i call it in my app.coffee with i get the error I´m lost 2012/8/30 Adrien Antoine [email protected]
|
In your
and display it with If you want to use a layout, create a file
and a view
Then render it with You can find more information here: Good luck ;-) |
Hello again !!! 5
body Without the 3 line that import the javascript files it works ok but with Is this related to how zappa reads the jade file? Thank you once more António
|
Hello again !!! 5
body Without the 3 line that import the javascript files it works ok but with those 3 lines i get the error Is this related to how zappa reads the jade file? Thank you once more |
never mind i did it another way around. Next issue in the sample file chat.coffee i try to use backbone js and in the client section code: Task is not defined... why is that? thank you |
@ramstein74 coffee script automatically closures your code, so |
Meanwhile (until the compatibility fork is merged), the package zappa could be labelled as incompatible with Node 0.8.x (or whatever) in the
|
@matt-hickford this project is not maintaned anymore, the zappajs fork is maintaned and works with 0.8. |
Today i tried to run a simple app to test zappa but after
npm install express
npm install zappa
i goto windows console with node
a=require('zappa')
i get the error
Cannot read property 'prototype' of undefined
at
zappa.js (65:15)
zappa.js(702:4)
The text was updated successfully, but these errors were encountered: