Re : prevent jquery from being loaded by steal
Hi Alex, Thanks for the reply. But I am using the legacy steal that is included in jmvc v3.3 by default. How to achieve the same effect in that?
View ArticleLoading external resources with new steal
Is it possilbe to load external resources (that have no CORS attributes) with new steal (System.import) .
View ArticleRe : Shared config different stealconfigs?
That will work in the minor branch of steal/steal-tools. It won't require the traceur-runtime, traceur is only needed if you are using es6, which in that example you are not.
View ArticleRe : Shared config different stealconfigs?
No it seems not to work: I have to following configuration: stealconfig.js System.config({ .. common config..}) System.buildConfig = {map: {"can/util/util" : "can/util/domless/domless"}};...
View ArticleRe : Shared config different stealconfigs?
I found that it can be fixed by extracting additonal config in separate global module (as common config) This is working configuration: stealconfig.common.js Copy code System.config({ .. common...
View ArticleIE7 load mustache template
Hello, I've got a strange BUG with IE7. I'll use this code to load a mustache template: can.view('templates/corporateLastTrips/index.stache') It works fine in every browser except, IE7. With the...
View ArticleRe : Loading external resources with new steal
Anything is possible with Steal :) You just might have to write an extension for some things.
View ArticleRe : Model caching?
Two years later, I find myself with this issue. I have an event model with an array of attendees, on my page if the user hits a cancel or rsvp button it sends a request to the server that either adds...
View ArticleModel caching issue
Hi all, im having an issue using my models findOne method to get updated data from my server. I have a model representing meetups, or events, on the UI side it has an attribute 'attendees' which is a...
View ArticleRe : Model caching issue
So after some looking into the code it seems like the problem is with this chunk of code, lines 239-247 of can/model/model.js: var id = attributes[this.id], // 0 is a valid ID. model = (id || id === 0)...
View ArticleRe : Model caching issue
I'm not exactly sure what you are saying, however, would your problem be fixed if removeAttr is true? Can you just set that on your model: can.Model.extend({ removeAttr: true},{})
View ArticleCache busting does not work in IE8
Hi, I am using the legacy version of steal. Whenever I use cache busting as follows:- steal = { suffix : 'xyz' };It fails in IE8. This happens when running in dev mode. I haven't tried in prod...
View ArticleHow to configure mustache with stealconfig?
What's the proper way to configure mustache with stealconfig? I'm using CanJS 2.1.3 and I looked at the example steal config here. https://github.com/bitovi/steal-can-example/blob/master/stealconfig.js...
View ArticleRe : How to configure mustache with stealconfig?
You have to be using the minor branch on github.
View ArticleRe : How to configure mustache with stealconfig?
Using that branched worked awesome! Thank you so much. You have to be using the minor branch on github.
View ArticleUsing value " null" in HTML attributes
I am using HTML attributes to bind data. Framework CanJS. I am using a `<div data-name="<%= items[1]%>"><%= items[1]%></div>` tag in file ejs With attr name is data-name...
View ArticleHow to import FastClick as CJS with stealjs
How to explose, import and build FastClick (https://github.com/ftlabs/fastclick/blob/master/lib/fastclick.js) as CJS module? This works and exposes Fastclick as global module: meta: { 'fastclick':...
View ArticleRe : How to import FastClick as CJS with stealjs
Steal does not support UMD or more specifically "define" not wrapping the entire body of code. Fastclick is UMD. Treat anything UMD as a global and it works. The fix to this is having SystemJS parse...
View ArticleInsert markup in template dynamicly.
If I have some template string '<p>{{name}}</p>' Is it possible to insert it to components template using for example helper, so this template would be executed in correct scope?...
View ArticleSteal is not production.css
My app builds fine, I get some spurious warning messages relating to trailing commas that arent actually there, but it generates production.js and production.css files, which both appear to be correct,...
View Article