dist/famous-map.js
function _elementIsChildOfMapView(element) {
        if (element.className.indexOf('fm-mapview') >= 0) {
            return true;
        }
        return element.parentElement ? _elementIsChildOfMapView(element.parentElement) : false;
    }
function _elementIsChildOfMapView(element) {
        if (element.className.indexOf('fm-mapview') >= 0) {
            return true;
        }
        return element.parentElement ? _elementIsChildOfMapView(element.parentElement) : false;
    }
function _elementIsChildOfMapView ( element ) { if ( element . className . indexOf ( 'fm-mapview' ) >= 0 ) { return true ; } return element . parentElement ? _elementIsChildOfMapView ( element . parentElement ) : false ; }
Helper function that checks whether the given DOM element
is a child of a MapView.
Helper function that checks whether the given DOM element is a child of a MapView .