Getting 'ReferenceError: "window" is not defined'
First time trying to create production build, so possibly a noob issue.I'm using:js steal\buildjs C:\path\to\app\search.aspx -to C:\temp\buildBut getting:uncaught JavaScript runtime exception:...
View ArticleGetting started with Steal.build 3.3... How ?
I read that Steal is ready for production. But I cannot understand how to migrate.I moved many of my new apps from JSMVC3.2.4 to CanJS (keeping the "old" Steal"), then I moved to "CanJs + Require" with...
View ArticleRe : Why the empty route fires twice?
I figured out my self that I should be usingcan.route.attr({key: val}, true)to over write existing hash.
View ArticleSteal Build Error
When I try and build my app:steal/js steal/buildjs myapp/myapp.htmlI am getting the following error:comparing document position cboxLoadingGraphic cboxLoadingOverlay !!!!!!!!!!! ERROR...
View ArticleRe : Steal Build Error
The fact that this works with jQuery 1.8.3 makes me think it is a problem with the plugin. I'm not sure it is working properly with 1.9.xWhere does the error originate in the plugin?
View ArticleRe : Steal Build Error
It appears to be this line:https://github.com/jackmoore/colorbox/blob/master/jquery.colorbox.js#L405To div tags that at the time of line 405 do not have a parentNode
View ArticleRe : Steal Build Error
It's a detached DOM node, but those are used all over the place. I know it will be messy, but can you post a stack trace of the error?
View ArticleRe : Steal Build Error
Sure, but where do I get said stack trace?Do I need to run the build with a special flag?Right now this is all I get:link@zelda:~/projects/app$ steal/js steal/buildjs myapp/myapp.html Building to...
View ArticleRe : Steal Build Error
The "add" function did change between jquery.1.8.3 and 1.9.1In 1.8.3 there is a check to see if the element isDisconnected which is not done in 1.9.1
View ArticleRe : Getting started with Steal.build 3.3... How ?
In the article (http://lihan.me/requirejs-vs-stealjs-vs-seajs/) it is said that stealjs supports node.js. Does it? In what way?
View ArticleTo subclass, can't use var Programmer = Person() but need var Programmer =...
It seems that to subclass in can.js, we can usevar Programmer = Person({}); and can't usevar Programmer = Person(); Is it just a convention, or supposedly it seems that Person() can see that there is...
View ArticleIt seems can.Control's init is not the first initializer?
Is it true for for can.Construct, we can think of its init as the first initializer entry point, while for can.Control, its init seems different that, even if we callvar myControl = new...
View ArticleRe : It seems can.Control's init is not the first initializer?
can.Control.prototype.setuphttp://donejs.com/docs.html#!can.Control.prototype.setup
View ArticleRe : Steal Build Error
Pretty sure that is not it. How did you pinpoint line 405 as being the problem when you did not have a stack trace?I believe adding a -d flag will enable the debugger.
View ArticleRe : Steal Build Error
Probably a combination of pure luck and bad ass debugging skills (not!)...Actually I changed line 3643 of env.js to the following to print the element id's of the elements being compared since the...
View ArticleCanJS Large Scale Application
Hi all,I would like to know how I can implement a large scale application with an architecture as close as possible to this one Large Scale Application.I'm sure you already know that article and as i...
View ArticleUnable to load the app controller using steal
Hi everyone, I am using the latest CanJs and Steal for our application. While loading the controller in main.js file its throwing an error says Cannot read property 'each' of undefined.Is there any way...
View ArticleRe : CanJS Large Scale Application
I create can.Observe when application starts. This observe is then passed to each can.Control (widget) which I create. Each widget can listen to observe changes and it can also set new values.On...
View Article