( function() { var func = function() { var iframe_form = document.getElementById('wpcom-iframe-form-455db46a2db5a01cbb40520e5d6e9d34-5405eef69244a'); var iframe = document.getElementById('wpcom-iframe-455db46a2db5a01cbb40520e5d6e9d34-5405eef69244a'); if ( iframe_form && iframe ) { iframe_form.submit(); iframe.onload = function() { iframe.contentWindow.postMessage( { 'msg_type': 'poll_size', 'frame_id': 'wpcom-iframe-455db46a2db5a01cbb40520e5d6e9d34-5405eef69244a' }, window.location.protocol + '//wpcomwidgets.com' ); } } // Autosize iframe var funcSizeResponse = function( e ) { var origin = document.createElement( 'a' ); origin.href = e.origin; // Verify message origin if ( 'wpcomwidgets.com' !== origin.host ) return; // Verify message is in a format we expect if ( 'object' !== typeof e.data || undefined === e.data.msg_type ) return; switch ( e.data.msg_type ) { case 'poll_size:response': var iframe = document.getElementById( e.data._request.frame_id ); if ( iframe && '' === iframe.width ) iframe.width = '100%'; if ( iframe && '' === iframe.height ) iframe.height = parseInt( e.data.height ); return; default: return; } } if ( 'function' === typeof window.addEventListener ) { window.addEventListener( 'message', funcSizeResponse, false ); } else if ( 'function' === typeof window.attachEvent ) { window.attachEvent( 'onmessage', funcSizeResponse ); } } if (document.readyState === 'complete') { func.apply(); /* compat for infinite scroll */ } else if ( document.addEventListener ) { document.addEventListener( 'DOMContentLoaded', func, false ); } else if ( document.attachEvent ) { document.attachEvent( 'onreadystatechange', func ); } } )(); As it was foretold in the early days (of 2013), Dunkin’ Donuts, the chain once banished from the shores of the Pacific Southwest (okay, so the few that existed closed in the ’90s because of slow sales) has returned to sugar-up the mornings of Californians (or at least those who happen to be near the one open location in Santa Monica). Yes, Dunkin’ Donuts — a company whose near omnipresence everyone in the Mid-Atlantic and New England has long taken for granted — opened its first official SoCal store this morning in Santa Monica, where some claim that people waited more than a dozen hours for their morning Munchkins at 5 a.m.