Re : Questions about model associations
can.Model are can.ObservesCan you create a fiddle demo'ing what you cannot get to work. I notice that you are kinda doing circular associations above. A book has chapters and a chapter belongs to a...
View ArticleRe : Questions about model associations
In your db, chapters likely have a book_id (if you are using a SQL db). If so, your services should reflect that. Yes, associations are a second class citizen because I've not found a comprehensive and...
View Articlesteal build not pulling in all files/dependencies
I'm trying to consolidate/compress all the javascript in my project using buildjs. i am pointing it to the main url of my site which pulls in the master js file while steals in all the dependencies,...
View ArticleRe : Questions about model associations
Thanks for your answers guys.What I need (at the minimum) is have access to the inverse relationship of an association. I have this fiddle based on the doc example, and would like to have task.contact...
View Articlesteal{ loaded: 'production.css' } not working
I am using the latest steal from github.In production mode I load production.css in the head.I try to tell steal not to load production.css like so:steal = { env: "production", loaded:...
View ArticleRe : Questions about model associations
Can you please answer my question about the inverse relationships?
View ArticleRe : steal{ loaded: 'production.css' } not working
Thank you for the quick reply!As this is mentioned in the forum now it might help others as well.
View ArticleRe : Questions about model associations
Given your JSON for contacts, the tasks data does not specify a contact. I realize that it is obvious by looking at the data, as the tasks are an attribute of a contact, but when the data is processed,...
View ArticleRe : steal{ loaded: 'production.css' } not working
Where do we specify these settings on steal?
View ArticleRe : Purge Events @ can.Observe.stopBatch ?
I don't understand why you need to toggle livebinding on and off. Livebinding will only update a view if you have an .attr() call in your template (or a helper called from the template).So if you are...
View ArticleRe : steal{ loaded: 'production.css' } not working
You would put this snippet of code in your main HTML file just before you include steal.js. It is how you cache bust your production files.So include your production.css in the head with some sort of...
View ArticleRe : steal{ loaded: 'production.css' } not working
Awesome. This is exactly what I was looking for. Thanks!
View ArticleRouting broken in 1.1 with Mootools
I posted this a while ago https://github.com/bitovi/canjs/issues/124 at it seems it's gotten "fixed" in 1.1.However.. .after moving from 1.0.7 to 1.1.3, I cannot get routing to work.If I manually set...
View ArticleRe : steal{ loaded: 'production.css' } not working
I used to do the following at the end of the HTML file that loads my app:<script type='text/javascript' src='../steal/steal.production.js?myapp'></script>Should this become:<script...
View ArticleRe : Purge Events @ can.Observe.stopBatch ?
Thanks for your replies,this is a rather complex data structure I have to make accessible and maintainable through an easy to use UI.I have a change-event-listener at the data-root for some necessary...
View ArticleRe : steal{ loaded: 'production.css' } not working
You load your app like you normally would. Steal will know that your CSS is already loaded and only load the production.jsWhat you did was load the minified version of steal...and that's it.
View ArticleRe : Routing broken in 1.1 with Mootools
I believe the suggested fix made it in there. Odd that the route tests are passing but it seems that you are right and there aren't any route events fired. Can you add an issue to GitHub so that we...
View ArticleRe : steal build not pulling in all files/dependencies
in the process of putting together a test app to exhibit this behavior in it's simplest form, I discovered that the steal instance being used to run the build did not match the version of steal being...
View ArticleRe : steal{ loaded: 'production.css' } not working
So then do I need to set the "production" property if I am doing the following?<script type='text/javascript' src='../steal/steal.production.js?myapp'></script>Any idea why I am getting the...
View Article