Re : Accessing element from component scope
I was using 'events' first, but now I prefer 'can-click=', as I think my code is more explicit that way. Thanks for responses.Maybe it would be something to consider to add the element automatically to...
View ArticleRe : Accessing element from component scope
Think, it's a flaw practice to mix model/data layer with presentation layer directly, scope is for data, events for DOM interaction, can-event scope's handlers that get element is exception by design.
View ArticleNodeJS Based Applications
I was just wondering what technologies, packages and/or apps some of your are using for providing a REST interface to a database using NodeJS? ExpressJS?What databases are you using?
View ArticleRe : NodeJS Based Applications
Hi theCountOfZeroWe've developed a large RESTfull API using NodeJS + Express backed with both MongoDB and MySQL. I've also just created a nice API for a mobile app using NodeJS + Express + FeathersJS +...
View ArticleMinify project for deployment
Hi, I have been using the framework for some time and its excellent. I have to few questions about how the build works and how to set it up. I have gone through the documentation several times. My...
View ArticleRe : Minify project for deployment
you may try to follow with new steal https://github.com/bitovi/steal-can-example
View Articlephonegap's deviceready event with canjs and steal
Does anyone have a technique for kicking off the app after the phonegap deviceready event? I'm using stealjs, canjs and phonegap.Using AngularJS I'd do something like...
View ArticleRe : phonegap's deviceready event with canjs and steal
just place there your application init code there (attach main app's control or insert main component).
View ArticleHelper methods on route change
HiI have created a helper method in my can component that checks if a css class should be set or notif (can.route.current({ placeTypeGuid: options.context.guid })) { return options.fn();...
View ArticleRe : Helper methods on route change
You should take advantage of live-binding, so it will automatically update to reflect changes in your app state. This means passing in arguments to the helper, and/or calling attr(). Putting your code...
View ArticleRe : NodeJS Based Applications
I fully support this :) It also comes with a real-time CanJS model wrapper: https://github.com/feathersjs/canjs-feathers
View Articlesteal is adding .js to the end of the file names
I'm having a strange issue where steal is adding .js to the end of the file names. Is there some where other than the stealconfig that I need to define extensions?GET...
View ArticleRe : steal is adding .js to the end of the file names
Currently, you have to import like steal("spot.mustache!")Notice the !.This will be removed shortly. I'm about to put out near finalized docs that after review will be implemented. They include the...
View ArticleRe : steal is adding .js to the end of the file names
Thank you... worked like a charm!
View Articlehow to configure less with the stealconfig?
With the new Stealjs 0.2.2 how do I configure less? Is this the correct ext.less property? Do I need to make further additions to the stealconfig?ext: { less: "bower_components/steal/less",...
View ArticleRe : how to configure less with the stealconfig?
Less should work out of the box. Just write:steal("foo.less!")
View ArticleWhat is the best approach to listen to route changes
HiI have created a route like this #!home&q=value. What is the best way listen to changes in the q parameter?At the moment i have found this '{can.route} q': function(route) {. Is this the right...
View Articleconverting retrieved models
Hi and good morning, dear friends.After a long time I did continue developing my project. First step was, to upgrade to JMVC 3.3 due to the fact, that canJS seems to be very tidy.I have a problem no...
View ArticleRe : how to configure less with the stealconfig?
Hi JustinAs you suggested loading less files from the root directory works. steal("foo.less!")But I'd like to load my less files from the ROOT/css directory. Using steal("css/global.less!") doesn't...
View ArticleRe : how to configure less with the stealconfig?
I resolved the issued. I had less @import statement that needed to be updated to absolute paths. With the prior version of steal they looked like this. @import "global.less"; But after upgrading to the...
View Article