Install https://github.com/vvo/selenium-standalone and start it.
Then run the test script. babel-node test.js
.
<div class="flexible-block-group flexible-block-group-4-up"> | |
<div class="flexible-block-group-item"> | |
<header class="flexible-block-group-item-header"> | |
<h1>Didn't want to try to: ain't one limb enough?</h1> | |
</header> | |
<div class="flexible-block-group-item-content"> | |
<p>"Didn't want to try to: ain't one limb enough? What should I do without this other arm? And I'm thinking Moby Dick doesn't bite so much as he swallows."</p> | |
</div> |
<div class="flexible-block-group flexible-block-group-4-up"> | |
<div class="flexible-block-group-item"> | |
<header class="flexible-block-group-item-header"> | |
<h1>Didn't want to try to: ain't one limb enough?</h1> | |
</header> | |
<div class="flexible-block-group-item-content"> | |
<p>"Didn't want to try to: ain't one limb enough? What should I do without this other arm? And I'm thinking Moby Dick doesn't bite so much as he swallows."</p> | |
</div> |
<div class="flexible-block-group flexible-block-group-4-up"> | |
<div class="flexible-block-group-item"> | |
<header class="flexible-block-group-item-header"> | |
<h1>"Didn't want to try to: ain't one limb enough?</h1> | |
</header> | |
<div class="flexible-block-group-item-content"> | |
<p>"Didn't want to try to: ain't one limb enough? What should I do without this other arm? And I'm thinking Moby Dick doesn't bite so much as he swallows."</p> | |
</div> |
<div class="flexible-block-group flexible-block-group-4-up"> | |
<div class="flexible-block-group-item"> | |
<header class="flexible-block-group-item-header"> | |
<h1>"Didn't want to try to: ain't one limb enough?</h1> | |
</header> | |
<div class="flexible-block-group-item-content"> | |
<p>"Didn't want to try to: ain't one limb enough? What should I do without this other arm? And I'm thinking Moby Dick doesn't bite so much as he swallows."</p> | |
</div> |
<div class="flexible-block-group flexible-block-group-4-up"> | |
<div class="flexible-block-group-item"> | |
<header class="flexible-block-group-item-header"> | |
<h1>"Didn't want to try to: ain't one limb enough?</h1> | |
</header> | |
<div class="flexible-block-group-item-content"> | |
<p>"Didn't want to try to: ain't one limb enough? What should I do without this other arm? And I'm thinking Moby Dick doesn't bite so much as he swallows."</p> | |
</div> |
async function createPNG (stream) { | |
return new Promise(function(resolve, reject) { | |
var imageData = await getStream.buffer(stream); | |
var png = new PNG().parse(imageData, function (error, data) { | |
if(error) { | |
reject(error); | |
return; | |
} | |
resolve(png); |
{"version":3,"file":"esri-leaflet.js","sources":["../src/Support.js","../node_modules/arcgis-to-geojson-utils/index.js","../src/Util.js","../src/Request.js","../src/EsriLeaflet.js"],"sourcesContent":["export var cors = ((window.XMLHttpRequest && 'withCredentials' in new window.XMLHttpRequest()));\nexport var pointerEvents = document.documentElement.style.pointerEvents === '';\n\nexport var Support = {\n cors: cors,\n pointerEvents: pointerEvents\n};\n\nexport default Support;\n","/*\n * Copyright 2015 Esri\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific langua |
Install https://github.com/vvo/selenium-standalone and start it.
Then run the test script. babel-node test.js
.
var L = require('leaflet') | |
var Esri = require('esri-leaflet') | |
var Geocoding = require('esri-leaflet-geocoder') |
<item-rating>
<span class="item-rating-tooltip" aria-label="Poor">
<a href="#" data-rating="1" class="${this.rating > 1 ? 'item-rating-starred' : ''} item-rating-star">★</a>
</span>
<span class="item-rating-tooltip" aria-label="Fair">
<a href="#" data-rating="2" class="${this.rating > 2 ? 'item-rating-starred' : ''} item-rating-star">★</a>
</span>
<span class="item-rating-tooltip" aria-label="Average">
<a href="#" data-rating="3" class="${this.rating > 3 ? 'item-rating-starred' : ''} item-rating-star">★</a>