Quantcast
Browsing all 3491 articles
Browse latest View live

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 Article


templates 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 Article


Re : 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 Article

Re : templates baseUrl?

https://github.com/bitovi/canjs/pull/647

View Article

Re : '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 Article


Image may be NSFW.
Clik here to view.

Re : 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 Article

Re : 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 Article

can/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 Article


Re : 'attributes' and extended models

Can you create a fiddle.

View Article


Re : 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 Article

Re : 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 Article

Re : can/model/list

Thanks for the reply. The ModelList.get example you provided seems like something that should be included.

View Article

Re : 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 Article


Document 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 Article

Re : 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 Article


Steal 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 Article

Re : 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 Article


Steal 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 Article

Re : 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 Article

Re : 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
Browsing all 3491 articles
Browse latest View live