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

Re : Live Binding Remnants

Yeah I figured the jQuery part. That's why I posted it here instead of submitting a pull request.If an element is removed using pure JavaScript will can know about it and be able to unbind...

View Article


Re : Live Binding Remnants

It will not know it has been removed. Sent from my iPhoneOn Nov 26, 2013, at 9:37 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:

View Article


Re : Live Binding Remnants

Thanks. Didn't think so. I am using a 3rd party plugin that is doing that. I will work around it.

View Article

Re : Declaring default attributes from upper level scopes

there is something about how angular decares custom components and scopeshttp://docs.angularjs.org/guide/compilerhttp://docs.angularjs.org/api/ng.$compileFrom the first glance they don't have such...

View Article

Re : Should I use can.Model or can.Map?

I'm redoing this right now too with the conversion to 2.0.I have a RESTful API that requires Login and handles everything for data in multiple UIs, including logging in to 3rd Parties like FB.I think...

View Article


Re : Should I use can.Model or can.Map?

@SteeleAuth is getting created at the App Level, but I am still struggling with what an App is now... a Component or a Control, I've been using Control, but making the root object a Component has some...

View Article

how to manage route.pushstate detection on init?

Let's say that an app is at /app/. Now, let's say that a user clicks a link from an email going to /app/route/. It would no doubt be configured to serve /app/index.html, but how can the main app class,...

View Article

Combining attribute passing and binding types

The problem I see now with declaring how attributes passed and bound is a little lack of flexibility. Well maybe this constrains which only helps and flexibility of any level can be achieve using...

View Article


Re : Should I use can.Model or can.Map?

That is what I suspected and how I am proceeding.Thanks for the quick reply to confirm .

View Article


Re : Declaring default attributes from upper level scopes

BTW the problem with using scope function like:scope: function(attrs, parentScope, element){  return new can.Map({    dict: parentScope.attr('dict')  })}for cases where it is it will not setup two way...

View Article

Re : Combining attribute passing and binding types

how would we differentiate between reading using the string value and using the string value to look up another value in the scope.

View Article

Re : Combining attribute passing and binding types

Right that is a problem that would require clumsy conventions.

View Article

Re : Swallowing Console Errors?

This has been fixed a while ago in 1.1.8 so upgrading should solve the problem.

View Article


Steal Build Error

Any idea why I would be getting the following build error now that I have updated to 2.0Building myapp/production.js last = index + $0.length; } });Parsing problemsteal/parse/tokens.js Bad number with...

View Article

Re : Steal Build Error

The culprit is in the getNames function declared at the top of scope.jsgetNames = function(attr){ var names = [], last = 0; attr.replace(escapeReg, function($0, $1, index) { if (!$1) {...

View Article


Re : how to manage route.pushstate detection on init?

Maybe if I post some code, it'll make more sense to you guys?/app/init.js:require.config({paths:{ can: "libs/canjs-2.0.3/amd/can/", jquery: "libs/jquery-2.0.3"}});require(["app","can/route/pushstate"],...

View Article

can.Component external events

I am new to a lot of the CanJS functionality (so far only used model and constructs) and realized it would be beneficial to use something like the CanJS equivalent of Backbone (which I am also quite...

View Article


Need some more details about canJs

Hii all..I am completely new to canJs.. So can anybody guide me how to use and and work with canJs...

View Article

Re : Need some more details about canJs

I'd suggest you start with the Getting started guide

View Article

Re : can.Component external events

I found out that I can use routing inside components, so that helps a bit.I was thinking that what I actually want to do is to use nested components.But how can I change the scope of child components?I...

View Article
Browsing all 3491 articles
Browse latest View live