Access scope from the child can.Component event
Hi, What is the idiomatic way in canjs of accessing the scope of a "child" can.Component which has its own template that is rendered inside the parent can.Component's template? To clarify my question,...
View ArticleHow to use can.view.attr-based components in a production build?
I'm trying to use some components that are based on can.view.attr() but I can't get them to work in a StealJS production build, even though they work in development mode. The attrHandler callback...
View ArticleWhat is the recomended or best supported syntax for StealJS?
I'm starting a new project and want to know what is the recommended StealJS syntax. Is it Steal, AMD, ES6 or CommonJS? Is there a primary syntax this project is moving to in the future? Or one that has...
View ArticleCan js on load
How can we call a function in controller on loading mustache in can js ??
View ArticleCanJS Governance
Hello all, CanJS is a great product no doubt but definitely requires more defending than say Angular even though it's far superior. I work at large financial institutions that have an open source...
View ArticleRe : Can js on load
Are you asking how we can tell when a view is loaded? If so can.view('mypath/myTemplate.mst',{ variable : "xyz" },function(html){ //ready to go scope.element.append(html) })
View ArticleRe : SPA starter/development tools comparison
Hi Dan I can help you out if you want been comparing these two for years now :)
View ArticleRe : CanJS Governance
CanJS has a test suite which you can see a part of here: http://canjs.com/can/test/jquery.html . It has about 1200 tests. Before a release, those tests are ran against every browser that CanJS...
View ArticleRe : SPA starter/development tools comparison
Thanks. I just need an email address or a request through the menu in the Google doc and I'll add you as an editor. I don't know how many best ways of using CanJS there are. So I'll just make a...
View ArticleRe : Can js on load
Hi, Thanks for your response. Actually i want to integrate jquery timepicker and jquery datepicker . So i initialize the timepicker in ready function like this <script type="text/javascript">...
View ArticleRe : Can js on load
It would be cleaner to implement those widgets using can.view.tag(). The docs for it have an example using a jQuery Datepicker plugin: http://canjs.com/docs/can.view.tag.html
View ArticleCan.Components show hide
hiif my route change i would change the visible component. what is the best way to do that? any examples? thx christoph
View ArticleRe : Can.Components show hide
http://canjs.com/docs/can.route.html 3 common ways I do it can.Control({ "{can.route} change": function(ev, attr, how, newVal, oldVal) { if (attr === "type") {...
View ArticleRe : Can.Components show hide
For routing with components: http://stackoverflow.com/questions/26198403/canjs-routing-components More ideas in: https://github.com/bitovi/canjs/issues/1216 https://github.com/bitovi/canjs/issues/1352
View ArticleRe : config of new steal
I'm having this same issue with steal.type is undefined. Using CanJS Minor. Steal 0.4 on Mootools 1.5.1 I'm using a modified version of stealconfig.js from the can directory trailered to mootools...
View ArticleRe : config of new steal
Are you sure CanJS minor is being used? You shouldn't be getting that. How does everything compare to https://github.com/bitovi/steal-can-example
View ArticleRe : config of new steal
Just confirmed that it's minor from github. I'll review the example project on Monday. Thanks Justin.
View ArticleRe : config of new steal
where is the error happening? steal.type is checked:https://github.com/bitovi/canjs/blob/minor/view/view.js#L735https://github.com/bitovi/canjs/blob/minor/view/view.js#L385Justin Meyer847-924-6039
View Article