噗浪最近有點胖

1,332 views

Published on

Lighting talk at JSDC.tw 2013, Identity the memory leak of Plurk on Chrome.

Published in: Technology

噗浪最近有點胖

  1. 1. Irvin ChenF2E最近有點胖
  2. 2. > console.log(JavaScript.skills)x ReferenceError: JavaScript is not defined
  3. 3. timeline iframe #comet
  4. 4. timeline iframe #cometref?
  5. 5. timeline iframe #cometreloadresetCometIFrame: function() {var $cFrame = jQuery(#cometframe);$cFrame.remove();$cFrame = null;var $newFrame = jQuery(<iframe>).attr({id: "cometframe",src: $cFrame.attr(src)}).appendTo(body);}
  6. 6. resetCometIFrame: function() {var $cFrame = jQuery(#cometframe);$cFrame.remove();$cFrame = null;var $newFrame = jQuery(<iframe>).attr({id: "cometframe",src: $cFrame.attr(src)}).appendTo(body);}
  7. 7. 160MB18.5MB
  8. 8. Irvin Chen | irvin @ moztw . orgslideshare.net / irvinfly

×