/* This file contains proprietary software owned by Motorola Mobility, Inc.
No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
*/ if (typeof window !== "undefined") { document._montageTiming = {} document._montageTiming.loadStartTime = Date.now(); // Give a threshold before we decide we need to show the bootstrapper progress // Applications that use our loader will interact with this timeout // and class name to coordinate a nice loading experience. Applications that do not will // just go about business as usual and draw their content as soon as possible. window.addEventListener("DOMContentLoaded", function() { var bootstrappingDelay = 1000; document._montageStartBootstrappingTimeout = setTimeout(function() { document._montageStartBootstrappingTimeout = null; var root = document.documentElement; if(!!root.classList) { root.classList.add("montage-app-bootstrapping"); } else { root.className = root.className + " montage-app-bootstrapping"; } document._montageTiming.bootstrappingStartTime = Date.now(); }, bootstrappingDelay); }); } (function (definition) { if (typeof require !== "undefined") { // CommonJS / NodeJS definition(require, exports, module); } else { //