Quantcast
Channel: JavaScriptMVC Forum
Browsing all 3491 articles
Browse latest View live

Re : can/map/elements/elements.js

So is it just a bug reference in model/list ?

View Article


Model update and makeUpdate

If found strange behaviour of update (and destroy) operations after can.js update from 1.1 to 2.0. After update my model data become corrupted on the client, some attributes (nested maps) become empty...

View Article


Rails 4 + JavascriptMVC

Hey,I found some posts about the topic Rails + JavascriptMVC, but they're very old.I got a project with Rails 3.0.x and JavascriptMVC (steal.js for dependency management and jQueryMX for the Controller...

View Article

Re : Rails 4 + JavascriptMVC

http://canjs.com

View Article

Re : Controller/ Model/ Observe pagination events

Look at the last example on can.Component: http://canjs.com/docs/can.Component.html

View Article


Re : Model update and makeUpdate

This is a bug and is already fixed in the minor branch:https://github.com/bitovi/canjs/pull/571

View Article

Re : grunt-steal-node

+1.  A node version of steal is going to streamline so many things.  Is it possible to get a status from Bitovi? Maybe a reference to a repo/branch we can keep an eye on.  I see the following but don't...

View Article

Re : grunt-steal-node

If I'm not mistaken: npm install -g steal-tools steal-build in command lineMetthew said that its experimental and may probably work.But I could not get it work =) So stick with rhino based.

View Article


Re : Using control.plugin with bootstrap

I hope I understood your question right but I think all you have to do issteal bootstrap.jsrender the template into this.elementinitialize the Bootstrap plugin on this.elementSomething...

View Article


Re : Using control.plugin with bootstrap

Hi Daff,Thank you so much for your response. This is almost exactly what I ended up doing. I actually create CarouselContainer Control  and  append the mustache view there, and then instantiated...

View Article

Re : Controller/ Model/ Observe pagination events

Thanks for ur reply. i have three seperate ejs file for each of the tempate.The problem is the example is in mustache can.component, I am not able to incorporate it with my control. I am not getting...

View Article

Send only some fields to update the model

If I need to update only couple of fields of an instance on server and I don't want to send a whole piece of data, should I implement it using some custom method? How do you approach?

View Article

Re : Send only some fields to update the model

You'd have to overwrite .save.  The backup plugin can remember the old state of your instance and you can use can.Object to see what has changed.

View Article


Re : Send only some fields to update the model

We had to do this in our old Rails app because sending certain keys to update/create endpoints that would throw an error.  We created a generalized solution where we would filter out unwanted keys (or...

View Article

Re : Send only some fields to update the model

I have a Json data like : {      "a":{            "b":[],            "c":[],            "d":[]          }}So I have a select tag which has the key (b,c,d).model is findAll and link to the url of json...

View Article


CanJS Infrastructure Improvements

Here's an article about some nice improvements to CanJS that are not new features:http://bitovi.com/blog/2014/02/canjs-infrastructure-improvements.htmlYou'll notice that I'm asking people to work from...

View Article

2 the same objects

Hey guys,Have a problem. I try to create 2 the same objects, but separated:window.Obj1 = can.extend(true, {}, new Position('#null2', { }));window.Obj2 = can.extend(true, {}, new Position('#null3', {...

View Article


Security Camera Installation

I have a business property. I want to setup security camera for my business. I am looking best security camera installation company. I have know that who are providing best security camera service. 

View Article

Sorting Model doesn't refresh view

Sorry if it is a silly question, I'm not a javascript/canJS expert.I have a Model that I can sort without any problem, however it doesn't refresh the Control that I created to display the list. Live...

View Article

Re : CanJS Infrastructure Improvements

So you guys no more focus on EJS ?? 

View Article
Browsing all 3491 articles
Browse latest View live