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

Memory leak with Mustashe?

Hello,   I think there is a bug in CanJS/Mustashe support: http://jsfiddle.net/Qg4fU/   Or I cannot rely on control's destroy method to remove all the handlers?   I'm sorry if I don't see something...

View Article


Re : Conventions, strategy, syntax, file extension for external mustache...

As I mentioned above, if you have a non-standard api, you can override the model method to initialize your data properly, as documented: http://canjs.com/docs/can.Model.model.htmlThat said, I would...

View Article


Re : Conventions, strategy, syntax, file extension for external mustache...

I still would advise against using a top level array.  It's just too easy that a CORS <script> gets injected somewhere else and your servers don't recognize it.If your data looks like: {...

View Article

Re : Basic routing with two properties

Daff replied on http://stackoverflow.com/questions/21126348/basic-routing-with-two-properties

View Article

can.Observer and can.Map

What's the difference between can.Observer and can.MapThere are three more properties on can.Observer : startBatch, stopBatch, triggerBatch that can.Map ?ThankPhane

View Article


Re : can.compute in a can.List

I think it is a bug, context of can compute in can.List is window object, push a test.

View Article

Re : can.compute in a can.List

can.List does not support computes on the prototype. Why do you need on?  Functions usually do everything we need. Sent from my iPhoneOn Jan 18, 2014, at 10:51 AM, JavaScriptMVC Forum...

View Article

Re : Memory leak with Mustashe?

This is fixed here:https://github.com/bitovi/canjs/pull/669It will be part of 2.0.5 which might land friday.

View Article


Re : Memory leak with Mustashe?

Thanks a lot!

View Article


ERROR - Parse e rror. Internet Explorer has a non-standard intepretation of...

ERROR in can/../../projects/myproject/helpers/helpers.js at line 92: ERROR - Parse error. Internet Explorer has a non-standard intepretation of trailing commas. Arrays will have the wrong length and...

View Article

Re : can.Observer and can.Map

In can 2.0 can.Observe was renamed to can.Map, for batch use can.batch.start/can.batch.stop in 2.0

View Article

Re : can.Observer and can.Map

http://canjs.com/guides/migrating.html

View Article

not working after building hellow world application, building was...

Hi, I build minimal application from one html and js  files, the project structure:- webcontent     - javascriptmvc     - projects           - myproject                  - todo.html                  -...

View Article


Re : not working after building hellow world application, building was...

typically, you should have your project next to steal and the rest of JMVCstealcanprojects

View Article

Re : ERROR - Parse e rror. Internet Explorer has a non-standard intepretation...

I'm not sure what you mean by:I know the IE issue with trailing commas, but I getting errors where at all no arrays or objects. 

View Article


Re : Conventions, strategy, syntax, file extension for external mustache...

Thanks guys for the reply.  I can confirm that I do have this working now.  I've iterated to so many times that I can't even remember what the issue may have been but part of it may have had to do with...

View Article

Re : not working after building hellow world application, building was...

Yes, but I suppose, if application is working before building, it must work and after successful building, or otherwise it  is the issue. I made experiments with different structures:the structure is...

View Article


Re : ERROR - Parse e rror. Internet Explorer has a non-standard intepretation...

example:structure:      proeject                        file1.js                  file2.jsfile2.js content:            steal('./file1.js', function(){                  return "The world is beautiful ";...

View Article

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

The application is working in production mode on IE 9, but still, minimal "hello world" application with steal is not working id dev (natural) mode.

View Article

How to check if a controller is initialized ?

Hi I am trying to find a function that return a Boolean if the controller in argument is initialized  for exemple.if(!initiatilze(MyController)){       $("#followersList").followers({ });}else{ Do...

View Article
Browsing all 3491 articles
Browse latest View live