Re : can.$ is not referring to window.$ and hence this.element in controller...
This issue is side effect of https://forum.javascriptmvc.com/#Topic/32525000001894007.
View ArticleBind a child viewModel property to a property with a dynamic name from the...
Hi, In this jsfiddle http://jsfiddle.net/9sbu4mew/1/, there are two components: A parent component, which holds the configuration for the filter criteria of five columns; A child component, which...
View ArticleRe : Bind a child viewModel property to a property with a dynamic name from...
Did not have much time to look into this problem, but I was thinking try to solve it by defining a custom attribute, using can.view.attr; Somthing like: can.view.attr(/lookup-bind-\w+/, function(el,...
View ArticleForce a Component's scope property to be a number
What's the correct way to make a property on a Component's scope always be a number?
View ArticleRe : Force a Component's scope property to be a number
Use the can/map/define plugin: scope: { define: { myNumberProperty: { type: 'number' } } }
View Articlesteal 0.10.3 supports IE8?
We upgraded to steal 0.10.3 and getting object undefined errors. steal 0.10.3 supports IE8?
View ArticleOn IE8 latest canjs is giving error "Object doesn't support this action" when...
On IE8 latest canjs is giving error "Object doesn't support this action" when can.Control({},{}); and can.Model({},{}); syntax is used. Any pointers?
View ArticleRe : phonegap's deviceready event with canjs and steal
// Bind Event Listeners // // Bind any events that are required on startup. Common events are: // 'load', 'deviceready', 'offline', and 'online'. bindEvents: function() {...
View ArticleRe : steal 0.10.3 supports IE8?
There were some uses of System.import that break IE8. I've fixed all of these issues and released 0.11.2 with all tests passing in IE8. You should have no problem upgrading from 0.10.3. Note that you...
View ArticleRe : On IE8 latest canjs is giving error "Object doesn't support this action"...
So running some tests in IE8 from can/control/test.html shows that all 19 test cases failed, using can version 2.2.5. And adding in can.Control.extend({}); addresses most of the test case issues. but 5...
View ArticleRe : On IE8 latest canjs is giving error "Object doesn't support this action"...
Hi Jasper, that's not IE8. Is that IE10? The tests all pass in IE8
View ArticleRe : On IE8 latest canjs is giving error "Object doesn't support this action"...
The Screenshots are from IE11 , but set to IE8 Mode in developer tools. Im currently setting up VM test in pure IE8. Also which version of can was that test done in, were currently using...
View ArticleRe : On IE8 latest canjs is giving error "Object doesn't support this action"...
That was tested with the v2.2.5 tag.
View ArticleRe : On IE8 latest canjs is giving error "Object doesn't support this action"...
Okay thanks Matthew, So digging more into the issue, inside of can/util/can.js _logger was causing the "Object doesnt support this action" error from console.log.apply, updating to to the below...
View ArticleRe : steal 0.10.3 supports IE8?
yeahwe changed loader.import and System.import to loader["import"] and System["import"] and it worked.
View ArticleDocumentation appears to be incorrect on 'Components' guide
In the component guide (http://canjs.com/guides/Components.html) reference is made to 'scope' whereas it appears to have been changed to 'viewModel' as per...
View ArticleHow to configure Model.findXXX methods not to use store.
We have a problem with can.Model.store maintaining single instance of model objects. We have authorization framework implemented on different properties of a shared model object. For example, A user...
View ArticleRe : How to configure Model.findXXX methods not to use store.
There's two solutions. You should probably do both of them. First, when user2 is logged out, it should probably be removed from the store. Things are removed from the store when there are no longer...
View ArticleRe : How to configure Model.findXXX methods not to use store.
Its not the User object which has problem and user object has a unique Id configured using id static property. Its the shared model object (in this case Application model object which also has unique...
View Article