webpackJsonp([4],{
/***/ 109:
/***/ (function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(28);
/***/ }),
/***/ 28:
/***/ (function(module, exports, __webpack_require__) {
"use strict";
__webpack_require__(56);
var resizeThis = function () {
if ( player.section_currently_showing === 1 ) {
var frame = player.sections[player.section_currently_showing].jq[0].querySelector( 'iframe' );
frame.width = player.sections[player.section_currently_showing].jq.width();
}
};
window.addEventListener( 'resize', resizeThis );
var player_ch8 = __webpack_require__(76);
window.player = new player_ch8();
/***/ }),
/***/ 56:
/***/ (function(module, exports) {
// removed by extract-text-webpack-plugin
/***/ }),
/***/ 76:
/***/ (function(module, exports, __webpack_require__) {
var project_player = __webpack_require__(0);
var platform = __webpack_require__(1).run_on;
var mapInitialized = false;
var player_ch8 = project_player.extend( {
show_section_animate: function ( section_to_show, direction ) {
this._super( section_to_show, direction );
if ( section_to_show === 1 ) {
var frame = player.sections[section_to_show].jq[0].querySelector( 'iframe' );
frame.width = player.sections[section_to_show].jq.width();
}
},
show_section: function (section_to_show) {
this._super(section_to_show);
if (this.section_currently_showing === 2 && !mapInitialized) {
mapInitialized = true;
window.mainMap.run();
}
},
removeDialgoHeader: function () {
$('#ui-dialog-title-standard_dialog_div').remove();
},
start_activity: function () {
var src = $( '[data-block_type=activity_iframe] iframe ' ).attr( 'src' );
var window_width = 900;
var window_height = 800;
player.activity_window = window.open( src, 'activity_window', 'width='
+ window_width + ',height=' + window_height + ', left=0, top=0, toolbar=no,'
+' location=no, directories=no, status=no, scrollbars=no, resizable=no, copyhistory=no' );
},
initialize2: function () {
this._super();
var $infoBlock = $('.instruction');
var focus_text = $infoBlock.text();
if (platform.android || platform.ios) {
$infoBlock.replaceWith($('' + focus_text + '' +
'Map showing percentage of children age 19–35 who have received combined ' +
'4-vaccine series. Focus on each state to see the data for that location. If you use keyboard use arrows ' +
'to navigate the map.'));
}
}
});
module.exports = player_ch8;
/***/ })
},[109]);
//# sourceMappingURL=bergerls11e_dataconnections_ch5.js.map