Re : Steal, Components and Templates
It seems like with the previous version of Steal it would watch for the use of can.view() with a url specified.can.Component.extend({ tag: 'todo-list', template:...
View ArticleRe : Idea for more reusability
Ok, thanks Tom Sieverding, I will see those points, Justin "That" is the component sorry :), thank you for the codeMohamed Cherif BOUCHELAGHEM
View ArticleBithub.com
Today we are excited to announce our Open Source community site - Bithub.com. It organizes our contributors content across Github, Twitter, Meetup, StackOverflow, Zoho Forums, and IRC. Read the...
View ArticleRe : "failed to open file" error on steal build
Correct. Don't want to wait for the DOM to be ready before downloading the resource files.For the time being, I will add a check for steal.isRhino. But I would be extremely surprised if steal doesn't...
View ArticleRe : Funcunit default example tab tests don't recognize the already opened...
I tried it both ways. The strange thing is that it does not work straight from the file.
View ArticlePrevent binding to attribute changes executed inside function
I have have a function with attribute changes inside like that: function(){ // I want to bind function to change of map1.a var result = map1.attr('a') //while this function...
View ArticleRe : Prevent binding to attribute changes executed inside function
Could you describe what you are trying to accomplish a little less abstractly?Why is the outer function called? Where is the outer function? On a component? Why are you executing some action while...
View ArticleRe : Prevent binding to attribute changes executed inside function
Well yes function is a member of scope for example that is passed to some child component as attribute.Say I have function that should return some filtred items, and also I want to execute some action...
View Articlecan.stache issue with custom tags with colon
This fiddle demonstrate how can.stache destroy the custom tag with colon (:), the custom tag will be split to 2 parts, for example "x:widget" will be "x" as tag and ":widget" as an attribute but in...
View ArticleRoadmap with JMVC Generate and Scaffolding through GruntJS
What is JavaScriptMVC 3.3 roadmap, thoughts, or brain dump on using GruntJS to do JMVC Generate and Scaffolding? How many teams have been using GruntJS with JavaScriptMVC and what do they do with JMVC...
View Articleproblem using {{else}}
Looking at this syntax ({{#helper}}BLOCK{{else}}INVERSE{{/helper}} ) shouldn't a falsely value render the INVERSE?http://jsfiddle.net/iface/qYdwR/1609/patrick
View ArticleRe : problem using {{else}}
You probably want {{#if greet}}...{{else}}...{{/if}}. {{#greet}} would be using this helper which doesn't support the else block.
View Articlebinding problem data-picker / mustache / can-value
Hello guys,I´m using mustache as template engine in my application. I have a form within the input fields are bind to a model by using can-value.There is a date field which is also bound to the...
View ArticleValidation of an ID against a List which loads from the server
Hi,I have an usecase where a component contains a list of counties, and the scope of the component contains both the list of countries and the selected country ID: http://jsfiddle.net/qYdwR/1631/.The...
View ArticleRe : problem using {{else}}
Hi Asavoy I believe the {{else}} syntax is supported in a number of tags. But I'm finding that some are not working as expected. I'm not sure if a specific version of CanJS is required. Else in the...
View ArticleRe : problem using {{else}}
The one you mention: http://canjs.com/docs/can.mustache.helpers.else.htmlI believe this is talking about {{else}} in the context of custom helpers you might create - see the section about Use.The one I...
View ArticleRe : binding problem data-picker / mustache / can-value
Can you post a fiddle (fork the link) with the code that causes the issue to get help quickly :)Mohamed Cherif BOUCHELAGHEM
View ArticleRe : problem using {{else}}
It looks like it works in can.stache but not in can.mustache. Thanks Daffl for setting me straight. http://jsfiddle.net/sLjFZ/1/
View ArticleRe : Validation of an ID against a List which loads from the server
I have found a possible solution - see here: http://jsfiddle.net/qYdwR/1636/.The idea was to "publish" the validation errors as a map attribute, validationErrors, through a get function using the...
View Article