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

Re : Errors in Getting Started Guide

I created an issue here.  https://github.com/bitovi/canjs/issues/1090Please add anything else you find.

View Article


Image may be NSFW.
Clik here to view.

Re : Errors in Getting Started Guide

Hi,about the //. But this does not work when I just copy the example, paste it into an editor, save the new file as "index.html" and open this in a (my case the Chromium) browser? Or do I have to...

View Article


Re : Errors in Getting Started Guide

Running from the fileystem doesn't work well with anything that tries to make an Ajax request.  Chrome has very restrictive XHR policies. 

View Article

Re : Canjs View Registration

@justin,I just want to find out that is possible or not?ThanksVenkat

View Article

Funcunit default example tab tests don't recognize the already opened browser...

I downloaded the example package from the funcunit website and run the tabs example (qunit.html in the tabs directory).It opens a popup window with the actual page that needs to be tested.So the pop is...

View Article


Steal, Components and Templates

How does one do the following where the template being stolen (temp) contains a "my-thing" tag.When the control declared below is instantiated, the my-thing tag is not converted to a component and...

View Article

Re : Canjs View Registration

Doesn't the example from the documentation work? Also keep in mind that you won't be able to use any of the live-binding features or can.Component.

View Article

Re : class id attributes are not ignored by can.route.map

Opened as a bug https://github.com/bitovi/canjs/issues/1079Mohamed Cherif BOUCHELAGHEM

View Article


Re : Ignore attribute (of Observe type) while serialization

Awesome, thanks.=B

View Article


"failed to open file" error on steal build

I've added the i18next library to do some i18n stuff.  Here's my init function. i18n.init({ lng: 'en', useCookie: false, fallbackLng: 'en', ns: 'resource', getAsync: false, resGetPath:...

View Article

Re : Canjs View Registration

Hi Daff,Thanks for the reply and no it did not work. What should be the plugin location I have to refer? And I understand that live binding and new features will not work.If you can provide me the...

View Article

Re : Canjs View Registration

It is possible, but unfortunately, we don't have time to dig into this to make a working example.  jQuery.tmpl is not depreciated. It has never worked in CanJS.Please look into how EJS and Mustache...

View Article

Re : Funcunit default example tab tests don't recognize the already opened...

Are you opening straight from filesytem on file:// or through a web server on http:// - due to browser restrictions most things don't work via file://.

View Article


Re : "failed to open file" error on steal build

Another option is to wrap the call to init in $(document).ready(function(){ ... });, but it might be a problem to have the init & download wait until DOM ready.Why not just add if (steal.isRhino)...

View Article

Idea for more reusability

Hello, I was thinking about a plugin for can.Component, or as we have can.view.tag (even can.view.attr) a new class in canjs that has the same work as component but accepts a custom "external" Control,...

View Article


Re : Idea for more reusability

I'm not sure what you mean.  Controls are sorta antiquated. 

View Article

Re : Idea for more reusability

Justin I mean, make that more customizable and let the end user (developer) make his own control on the widget for exemple if I have a list component how I can handle the click event? every one has his...

View Article


Re : Idea for more reusability

> make that more customizable make what more customizable?  what is "that"?> list component how I can handle the click eventThe click event on what?  You should probably not be listening to the...

View Article

Re : Idea for more reusability

If you need "mixin" functionality, this can be accomplished in a number of ways:      1) can.view.attr + can.Control/direct bindings      2) can.Component + no template, or template with...

View Article

Re : Building production files with StealTools

FYI: The suggested npm install fails. > npm install git://github.com/bitovi/steal-tools.git#systemjs --save-dev

View Article
Browsing all 3491 articles
Browse latest View live