Effects of a missing initializeBase call...

Posted on January 29, 2008 00:26 by Mamanze

Just ran into a very unexpected issue. I've been developing an app for the past two months, mostly AJAX work. Turn off debugging for the first time today to do a production deploy and boom, I get errors. Long story short, turns out that in debug mode, a missing initializeBase call doesn't really matter. ASP.Net Ajax must be doing the extra plumbing for me. In release mode though, the method call is required before the prototypes are flushed out.

 

So, if you do a release build and get the nice error that "a.beginUpdate is undefined', check your intializeBase calls.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

August 28. 2008 14:04