1 // ==========================================================================
  2 // Project:   SproutCore - JavaScript Application Framework
  3 // Copyright: ©2006-2011 Strobe Inc. and contributors.
  4 //            Portions ©2008-2011 Apple Inc. All rights reserved.
  5 // License:   Licensed under MIT license (see license.js)
  6 // ==========================================================================
  7 /*global SC_benchmarkPreloadEvents*/
  8 // sc_require("system/browser")
  9 if (typeof SC_benchmarkPreloadEvents !== "undefined") {
 10   SC.benchmarkPreloadEvents = SC_benchmarkPreloadEvents;
 11   SC_benchmarkPreloadEvents = undefined;
 12 } else {
 13   SC.benchmarkPreloadEvents = { headStart: new Date().getTime() };
 14 }