This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const elements = document.querySelectorAll('video[data-autoplay]') | |
const observer = new IntersectionObserver(handleIntersection, { | |
rootMargin: '0px', | |
threshold: 0.7 | |
}) | |
let visibleVideos = new Set() | |
let previouslyVisibleVideos = null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mapInstance; | |
var autocompleteInstance; | |
var results = []; | |
var markers = []; | |
var infoWindows = []; | |
var markerIcon = null; | |
function initMap() { | |
markerIcon = new BMap.Icon("https://49f44b141764baa2639d-7ed4c224bc1671c64dae8740f0861232.ssl.cf6.rackcdn.com/assets/images/marker_lion.png", new BMap.Size(40, 45), { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function initMap() {}; | |
$(function() { | |
var googleMapInstance; | |
var googleBoundsInstance; | |
var googleAutocompleteInstance; | |
var results = []; | |
var markers = []; | |
var infoWindows = []; |