Re : CanJS multi view - REST sign in example? - not just normal form POST
Use SSL and don't use cookie to store password the rest is the matter of backend auth implementation.Also, use input with type="password" =)
View ArticleBug: batchNum of undefined observe.js ln:320
I'm using canJS.I'm doing this: var order = this.options.Order; delete order['genius_general']; delete order['_data']['genius_general']; var order =...
View ArticleRe : Bug: batchNum of undefined observe.js ln:320
Without actually debugging code, I think the problem is that you are deleting a property of an Observe without telling the Observe that the property is no longer there.removeAttr() will do this for...
View Articlejavascriptmvc 3.3.0 and steal.config
I've fetched the latest code of javascriptmvc 3.3.0 from github and I'm now trying to change one of my apps to a canjs (amd-version) with the latest steal and canjs.My first of many questions probably...
View ArticleBuild instructions don't work?
| have tried to follow the instructions here:http://canjs.us/#developing_canjsbut it fails on me. I get the submodules, but there is no js can/util/make.jsand when I try to run js can/build/build.jsI...
View ArticleRe : Build instructions don't work?
Solved it, my js command was pointing to spidermonkey, it works if you type./js can/build/build.jsPerhaps this can be corrected in the docs.
View ArticlePlease use "/b" switch to 'exit 1' call in FuncUnit envjs
Otherwise it closes my cmd window as well.Thanks.
View ArticleRe : Why can.Observe.prototype.each() argument order is different from...
Could it be done library-dependant like the wrapping of dom elements?
View ArticleLatest steal, steal.config shim deps
steal.config({ amd : true, map: { "*": { "jquery/jquery.js" : "jquery", "can/util/util.js": "can/util/jquery/jquery.js" } }, paths: { 'jquery' :...
View ArticleRe : Please use "/b" switch to 'exit 1' call in FuncUnit envjs
can you be more specific about what you mean?
View ArticleRe : Bug: batchNum of undefined observe.js ln:320
Awesome. Ok that makes sense. So in regards to the model() function.My api's always have a parent node for most model data for ex: {Order:{attr:value, attr:valuek..}}Thats pretty typical with most...
View ArticleRe : Bug: batchNum of undefined observe.js ln:320
The documentation you seek is hereEach Model should represent a different "Thing" in your app and I assume that each "Thing"'s JSON response follows the same structure right?In this case, you could...
View ArticleModel.created attribute conflicting with event?
This line: in my view : <td><%= this.Order.created %></td> Gives this error: Uncaught TypeError: Object [object Window] has no method 'attr' model.js:1109 That field is the time...
View ArticleRe : Bug: batchNum of undefined observe.js ln:320
I will do the later. Thanks for the reference.I appreciate the help while i'm figuring out where everything is at.I noticed that donejs site has more docs than canjs does for models etc.Is it moving...
View ArticleEJS BUG looses observableness using canJS
Trying to replicate this in js fiddlle would take forever. I have lots of api's and this is a view 3 levels deep.But this is the view:<ul class="nav nav-pills navtabs"><% var order =...
View ArticleObserve.backup and List atrr changes?
Does backup and isDirty supposed to handle changes in attributes that are Observe.Lists? If I add or remove element from nested list it seems that model does not become dirty, is it correct behavior?
View ArticleRe : Please use "/b" switch to 'exit 1' call in FuncUnit envjs
I start a cmd window. Then I run some tests using envjs.bat.The tests fail and my cmd window gets closed (exit closes the cmd window as well). So then I have to start a new cmd window.Something like::...
View ArticleRe : Base class for Model(Observe).List inheritor
There should be the functionality that each Model class will create a list subclass with its own class. So the default MyItemClass.List should create MyItem classes. So you can just doMyItemClass.List...
View Article