Quantcast
Channel: JavaScriptMVC Forum
Browsing all 3491 articles
Browse latest View live

Re : steal.js not loading resources in order on ie 9

Yes, unfortunately, it is "old Steal".  Also, unfortunately, I have looked into upgrading and it's too extensive a change to our build process at this time to complete in time for our load.  I'm having...

View Article


Re : steal.js not loading resources in order on ie 9

Why is it an extensive change?  We're looking to make the migration as simple as possible. Upgrading most apps takes a day or two.

View Article


Re : steal.js not loading resources in order on ie 9

We're a large, slow-moving, process-change-aversion, oss-scared organization. And unfortunately, because of our schedule, this isn't the time to try and accomplish this if it's not plug-n-play.  And...

View Article

can.Component vs Polymer

I'm sure I don't need to defend my long term commitment and support of CanJS and Bitovi, but I was wondering if someone on the Bitovi team would tell me how they answer the question when asked "Why use...

View Article

Re : can.Component vs Polymer

Speed.  can.Component doesn't polyfill the entire DOM.Browser support.  can.Component works in IE8. V-VM can.Component is more or less about connecting a viewModel to a live view.   A simple polymer...

View Article


Re : Accessing

There should be DOM access via this.element within the "events" object's init.

View Article

Re : Accessing

So, you might not want to use a can.Component, but instead register a custom element like: can.view.tag(function(el, tagData){    }) Within there, you can do whatever you want.  tagData has the scope...

View Article

How to call and navigate between modules

Hi guys,, One simple question, Is there any guide shows how to create a very basic primitive CanJS modular app ? For example, Lets assume that I have an Orders and Users modules and my approach is to...

View Article


Re : Any router/view example app?

Hi Robert, I'm looking for something like that as well ! Have you found any useful resources??

View Article


Re : Any router/view example app?

hi, unfortunately I couldn't find what I was looking for. I viewed the todomvc.com examples and started from there :(

View Article

Image may be NSFW.
Clik here to view.

Re : Any router/view example app?

Hi Robert, I will share with you if I found something useful  

View Article

Re : How to call and navigate between modules

Hi,, After looking at this example here Place My Order  I did manage to do a basic routing, But I'm not sure whether this is the right way or not, Please Advice. Find an example here: CanJS basic routing

View Article

Re : Any router/view example app?

Hi Robert,, Take a look at this example CanJS basic routing

View Article


Can package.json meta dependencies be split into multiple files or used with...

Hi, is there a way to split the dependencies specified in my package.json file meta deps into separate files. currently i have a large file with many different module dependencies, and i would like to...

View Article

can.$ is not referring to window.$ and hence this.element in controller...

can.$ is referring to $ object when jquery.js is loaded. All the 3rd party jquery plugin methods are added to window.$ and when controller is created this.element is wrapped with can.$ and  hence...

View Article


Dependencies are loaded more than once when a 3rd party library which...

We are trying to steal AMDfied jquery.cookie library, jquery.js is loaded twice as steal also supports AMD syntax. How to load it as a regular library using steal? // can/util/jquery/jquery.js...

View Article

Re : Dependencies are loaded more than once when a 3rd party library which...

make sure you have the map config like: map: {'jquery/jquery': 'jquery'} otherwise, it should be possible to see what the different modules names for jquery are.  What I would do is put a debugger in...

View Article


Building fails because of backend url..?

Hi there! I'm done with my app using JSMVC and I'm on the way to build the app before to set it to my production env. I start the building but it soon raises an error and my production.* files are...

View Article

Re : How to call and navigate between modules

hi, I've took a look at the Place my Order example, and in the guide section it is stated that Canjs is a MVVM framework but looking at the website and todomvc example Canjs seems moved to a more MVC...

View Article

Re : Dependencies are loaded more than once when a 3rd party library which...

Thanks Justin. It worked. canjs is loading jquery using the module "jquery/jquery" and AMDfied library is loading "jquery" using module jquery and hence steal is loading jquery twice. By mapping module...

View Article
Browsing all 3491 articles
Browse latest View live