Re : Anyone using something other than jQuery and Zepto?
I think only supporting jQuery and Zepto is the right decision. The percentage of developers using Dojo and YUI is very small and that number is even smaller for those using those libraries with...
View Articletemplates baseUrl?
By default, they load relative to the HTML page that loads CanJS. I've specified a baseUrl for LESS and RequireJS, but am not sure how to tell CanJS this.My guess is that there is no such thing...
View ArticleRe : Anyone using something other than jQuery and Zepto?
I think that the library-agnostic aspect is a neat thing to tout and is a feature which makes newcomers and decision-makers within a company perk up. It kind of gives CanJS that immediate "wow" factor...
View ArticleRe : 'attributes' and extended models
I did the following to ensure the existence of the expected attributes on inheriting models:can.Model('Person', { attributes: { id: 'string', phone_numbers: 'PhoneNumber.models'...
View ArticleRe : Anyone using something other than jQuery and Zepto?
Maybe you can silently stop updating Dojo and YUI and see if any support tickets come up - that will really tell you if it hurts anybody's feelings. aha "silently" - kinda crossing up
View ArticleRe : Anyone using something other than jQuery and Zepto?
Yeah, I'd rather announce that we are no longer going to support them.YUI would be the first to go. Its code is all sorts of crazy.
View Articlecan/model/list
Is there a reason why this is not part of the mainstream download?For a long time I have just been using the code from github and I am using this functionality within my app. I would like to start...
View ArticleRe : Mustache Template for CSS
I always tried to prevent dynamic stylesheets. Even if it is user generated content (e.g. custom colors etc.) I would probably rather try generating it on the server and then loading it into my app.
View ArticleRe : can/model/list
elements is very deprecated btw. It's been replaced by EJS and Mustache's data helpers since 1.0 and now, with can-click and such, unnecessary.
View ArticleRe : can/model/list
Thanks for the reply. The ModelList.get example you provided seems like something that should be included.
View ArticleRe : can/model/list
I don't think it should be included because with can-event there's no situation where I've needed it. Please provide a good use case. Sent from my iPhoneOn Jan 7, 2014, at 9:10 PM, JavaScriptMVC Forum...
View ArticleDocument generate issue
We are using the latest Javascript MVC 3.3 version. while generating the document using the commoand (js testapp\scripts\docs.js) we are getting these errors.Writing...
View ArticleRe : Adding support to steal to load pre-built modules
Here is the approach- common module is built using steal.build.pluginify to make production.js steal free- file manager module is built with below configurations - steal.config.path is configured...
View ArticleSteal Build Error
Just updated to 2.0.4 and am now getting the following error when building. Build completes, but production.js ends up looking like this:steal.packages({});Building myapp/production.js 22283ERROR in...
View ArticleRe : Steal Build Error
Just looked at the code and I see daffl fixed this on 12/23. I will just apply the fix locally until it makes it into 2.0.5https://github.com/bitovi/canjs/commit/5ba2fa98613aa3f27d2b8b23821b431061455705
View ArticleSteal build with steal.config.shim.package=false is not building the...
// stealconfig.jssteal.config({ shim: { "one.js": { "packaged": false } }});// one.jsvar person = { "name": "Arjun"};// depsonone.jsperson.name;//...
View ArticleRe : Anyone using something other than jQuery and Zepto?
For perspective, Backbone depends on jQuery or Zepto, Ember depends on jQuery, and Angular either uses jQuery if it's on the page or its own lightweight version.
View ArticleRe : Steal build with steal.config.shim.package=false is not building the...
ping me on monday on skype and I'll help you with your steal issues. Thanks!
View Article