Quantcast
Browsing all 3491 articles
Browse latest View live

Re : Model Store conflict

I'm not really understanding what you wrote (especially your model relationships) but you likely need another model that associates what's in the cart with either items or categories. Sent from my...

View Article


Equivalent for jQuery.Model.List.prototype.match

In jQueryMX we have http://v32.javascriptmvc.com/docs.html#!jQuery.Model.List.prototype.match, is there an equivalent in CanJS or are we going to add one? Thanks!

View Article


can.Component

I've begun work on can.Component.  can.Component is CanJS's answer to web components. It's goal is to simplify some often repeated processes in creating widgets.  Namely:Initializing them.Creating a...

View Article

Newbie Setting up an app.

I want to create a new app that has two contollersbirdsapp/       index.html            -> <script type='text/javascript' src='../steal/steal.js?birds'></script>      birdsapp.js...

View Article

Re : How to implement routing?

Okay thank you..ch. indira

View Article


Re : can.Component

This is very cool, but I need to re-read this a few times to make sure I really understand it.I will comment further once I have wrapped my head around this further.Great work!I second the question...

View Article

On can.Observe -> can.Map

In reply to questions on https://forum.javascriptmvc.com/topic/can-component#32525000001348035:This has been in the works for a while: https://github.com/bitovi/canjs/issues/374  There's a few reasons...

View Article

Re : can.Component

Replied here: https://forum.javascriptmvc.com/#Topic/32525000001343073  I want to keep this thread on can.Component.

View Article


Re : Canjs model cloning.

This is an example on how to add this functionality to canjs so you can call modelInstance.clone()

View Article


Routing params question

Hello,I have a route in my application, something like 'items route': function() {....}Now I want to add some filtering capabilities to control using extra route params and still allow the route above...

View Article

Links Are Broken http://javascriptmvc.com/builder.html

It seems the links on page http://javascriptmvc.com/builder.html are broken. Could someone please fix them? Thanks!

View Article

Re : Canjs model cloning.

yes, It helped.thanks Justin.

View Article

Re : Routing params question

What do you mean by "not required" param? Can you explain with an example

View Article


Re : Is there a better way to load base modules independently without having...

Any one?I can create a failing testcase and submit a pull request.here is a related onehttps://forum.javascriptmvc.com/#Topic/32525000001324021

View Article

Re : Routing params question

For example route /itemsand /items?query=...Both can be processed by the same controller.

View Article


Nested model canjs

Hi Friends,Using canjs how can we work with nested models,Like, I have a Model, which gives the following formatted data.[ "libraries" : [ { "lib1" : "aaa", "lib2" : "bbb", "lib3" : "ccc"} ] ]and the...

View Article

Re : Nested model canjs

You can use the attributes plugin to set up associations between modelshttp://donejs.com/docs.html#!can.Observe.attributes

View Article


Re : Is there a better way to load base modules independently without having...

a failing test with a minimum number of files would be helpful.

View Article

Re : Model Store conflict

Updated jsFiddle

View Article

Re : data("controllers") in 3.3

Noone?I should be able to do this according to the docs but I guess I'm missing something or there is a bug?http://www.javascriptmvc.com/docs/jQuery.fn.controls.html

View Article
Browsing all 3491 articles
Browse latest View live