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

Re : 404 errors - examples in can.view.bindings

Thanks!  If you ever see something like this again, please create an issue here:https://github.com/bitovi/canjs.com/issues?state=open

View Article


Re : Fixture request does not work why ?

Is this an older project?  Anyway you could simplify the example?

View Article


Re : FuncUnit not loaded into bitovi's srchr demo

Hey John/Justin,I believe this conversation actually moved into an email thread between Brian & John, however for posterity, I'll note that the Srchr app has been updated with a new getting started...

View Article

Re : can.Component: dynamic attribute values binding to scope

Thanks for the reply!

View Article

Re : event handling: this variable and arbitrary data

What I'm trying to accomplish is the following:I have a "Globals" object that contains a number of variables, one of which is "NavigationState". In it, I store the active page, and any changes made to...

View Article


Re : URGET : can.Component 2.0.4 broken in IE8

JustinIndeed.Sorry forgot to mention that. Conditionally loaded when IE lt 9, AFAICS nothing at all would work without it ...Ron

View Article

Re : Subclassing a can.component?

Thanks, will do that I guess, subclass the scope.

View Article

Re : Subclassing a can.component?

One more question though: you're right in that most logic happens in the scope, however logic also can happen in "events".Is there a way to subclass "events" of a componet, i.e. the underlying controller?

View Article


Re : URGET : can.Component 2.0.4 broken in IE8

All of our tests pass against IE8, so you will have to give us a breaking example, perhaps in a fiddle.

View Article


Re : URGET : can.Component 2.0.4 broken in IE8

To clarify ... we always run our tests against IE8 before we release a version.  2.0.4 and 2.0.5 are tested against IE8.Make sure you are loading your components before creating your views. 

View Article

Re : URGET : can.Component 2.0.4 broken in IE8

JustinThe following EXTREMELY basic test will not run in my IE8 on either XP or Win7. Native IE8, not emulation !It fails silently and does not run to completion, the final consoel.log('finished') is...

View Article

Re : URGET : can.Component 2.0.4 broken in IE8

Change:<test-tag/>to<test-tag></test-tag>

View Article

Re : URGET : can.Component 2.0.4 broken in IE8

Also, please create that here:http://jsfiddle.net/donejs/qYdwR/With 2.0.7 and if that breaks, submit an issue here:https://github.com/bitovi/canjs/issues/new

View Article


Re : URGET : can.Component 2.0.4 broken in IE8

And make sure you are using this HTML5Shiv:https://github.com/aFarkas/html5shivas referenced here: http://canjs.com/2.1/guides/Using.html#section_IE8Support

View Article

Re : URGET : can.Component 2.0.4 broken in IE8

if that one doesn't work, maybe try this one:  https://github.com/bitovi/canjs/blob/minor/lib/html5shiv.js

View Article


Re : Subclassing a can.component?

var baseEvents = { "li click": function(){ ... }}can.Component({  scope: BaseMap.extend({ ... }),  events: $.extend({}, baseEvents, {"li mouseover": function(){}})})

View Article

Re : Subclassing a can.component?

Many thanks!

View Article


Re : event handling: this variable and arbitrary data

Solved, now the {scope} navState event handler gets called as it should.Forgot to update navState via attr().

View Article

Re : Missing doc.bat in documentjs

As described in http://javascriptmvc.com/docs/ documentjs/doc.bat has to be used but doc.bat is missing...

View Article

Re : URGET : can.Component 2.0.4 broken in IE8

JustinThanks for your suggestions but no go.None makes the slightest dfference.I seem unable to test the code on JsFiddle as it complains that I need to make a POST request so won't even run in a real...

View Article
Browsing all 3491 articles
Browse latest View live