Re : How to override findOne correctly
Yes, so in this case, there's no difference between using $.ajax and can.ajax. If you ever switch libraries, can.ajax will wrap that libraries underlying XHR functionality
View ArticleRe : best way to implement common Model.List
Naming conflicts are one and there are a lot of other considerations but one of the biggest concerns for me is it enables developers to do really dumb things like tightly couple modules, build bad...
View ArticleRe : How to override findOne correctly
Right. That makes using can.ajax more flexible...
View ArticleRe : How to override findOne correctly
Thanks, forgot about it, it was long time I didn't need to override standard methods. Is it possible to tune timeout of standard REST methods?
View ArticleRe : How to override findOne correctly
findOne returns defered maybe implement setTimeout is the the solution, I havent try it yet.http://donejs.com/docs.html#!can.Model.static.findOneMohamed Cherif BOUCHELAGHEM
View ArticleRe : How to override findOne correctly
@Cherif: I'm not sure that's what he's looking for. setTimeout would delay the request a Model would make and wouldn't affect the timeout at all.By "tune timeout" do you mean how do you change the...
View ArticleRe : How to override findOne correctly
@CurtisI just thought if it is possible to override timeout setting without need of replacing standard methods with $.ajax.
View ArticleWhere can I download steal supporting AMD, canjs, and fucnunit
Where can I download AMDfied steal, canjs, and fucnunitjs
View ArticleRe : Where can I download steal supporting AMD, canjs, and fucnunit
A AMDified steal? Doesn't make much sense ...Get download the CanJS zip on the left-hand-side of canjs.us where it say "Download 1.1.3".
View ArticleRe : Where can I download steal supporting AMD, canjs, and fucnunit
Only CanJS has an AMD build right now. If you look at the AMD section of the CanJS website, the link to the full zip is there. Within that zip is a folder named amd that contains all CanJS modules.
View ArticleRe : Where can I download steal supporting AMD, canjs, and fucnunit
Actually I meant steal supporting AMD.steal('can/control', function(Control){ var MyControl = can.Control({ });return MyControl;});Is there a single zip file available to download all the 3?
View ArticleRe : Where can I download steal supporting AMD, canjs, and fucnunit
StealJS with AMD support isn't ready yet!I've tried the alpha/beta/don't know what version from github but that isn't working very well.For example: Shims had bugs (maybe they are fixed by now)I've...
View ArticleDeep merge of options in Control
Construct does a deep merge of the options.Control does NOT do a deep merge.Why is that, please?
View ArticleRe : Where can I download steal supporting AMD, canjs, and fucnunit
CurtisActually I meant steal supporting AMD.so that I can dosteal('can/control', function(Control){ var MyControl = can.Control({ });return MyControl;});Questions- Is there a single zip file available...
View ArticleRe : can.route bind problem
Thanks daff, This page was EXTREMELY helpful to us. We have a very similar situation as the fellow above. The following worked for me.destroy : function() {...
View ArticleProblems when adding revision to CSS/JS names
Hi, I have "inherited" the Steal code in the system I'm working on. While working on adding revison to the file names of CSS and JS files loaded to be able to increase caching times without running...
View ArticleRe : Problems when adding revision to CSS/JS names
You still need to include steal's production.js so it can load your minified files. The production property tells Steal what YOUR files should be named, not Steal's.<script...
View ArticleRe : Problems when adding revision to CSS/JS names
But isn't what what steal options do? steal = { .... production: '/mydirectory/production~r0000.js' } The production file is mine.Thanks!/Per
View Article