Animated SVG of Bring Me the Horizon's latest album, That's the Spirit.
A Pen by James Myers on CodePen.
Animated SVG of Bring Me the Horizon's latest album, That's the Spirit.
A Pen by James Myers on CodePen.
| /** | |
| * Service to manage geoJSON layering with Leaflet.js' angular directive, which only allows 1 set of geoJSON data. | |
| * | |
| * Assuming you have a leaflet directive with its 'geojson' attribute set to `geojson`, usage is as follows: | |
| * var layers = new GeoJSONLayers(); | |
| * | |
| * layers.addLayer('myLayer', geoJSON, function(feature) { return { fillColor: '#00F' }; }); | |
| * $scope.geojson = layers.get(); | |
| * | |
| * layers.removeLayer('myLayer'); |
| wp export --post__in="$(wp post list --post_type=foo --tribe_events_cat=bar --format=ids)" |
| var maxHeight = 0; | |
| var widget = $(".widget > div"); | |
| widget.each(function(){ | |
| if ($(this).height() > maxHeight) { maxHeight = $(this).height(); } | |
| }); | |
| widget.height(maxHeight); |