Here is the page: page{:target="_blank"}
[page](https://google.com){:target="_blank"}
Here is the page: page{:target="_blank"}
[page](https://google.com){:target="_blank"}
yarn add --dev jest babel-jest @babel/preset-env @babel/core @babel/plugin-syntax-jsx @babel/preset-react @testing-library/dom @testing-library/jest-dom @testing-library/react @testing-library/user-event babel-preset-react-app identity-obj-proxy jest-circus jest-scss-transform jest-watch-typeahead
"jest": {
"roots": [
const [online, setOnline] = useState(true) | |
useEffect(() => { | |
let offlineToast | |
const goOffline = () => { | |
setOnline(false) | |
} | |
const goOnline = () => { | |
setOnline(true) | |
} | |
window.addEventListener('offline', goOffline) |
var gulp = require('gulp'); | |
var myTransform = require('./myTransform'); | |
gulp.task('foobar', function (){ | |
return gulp.src("foobar.js") | |
.pipe(myTransform()) | |
.pipe(gulp.dest('.')); | |
}); |
import React from 'react' | |
const classList = marks => marks.map(i => i.type).join(' ') | |
const elementMap = { | |
paragraph: 'p', | |
'heading-1': 'h1', | |
'heading-2': 'h2', | |
'heading-3': 'h3', | |
'heading-4': 'h4', |
EMAIL_ADDRESS='' | |
EMAIL_PASSWORD='' |
<!DOCTYPE qgis_style> | |
<qgis_style version="1"> | |
<symbols/> | |
<colorramps> | |
<colorramp name="imhof_hillshade_dark" type="gradient"> | |
<prop k="color1" v="119,66,70,255"/> | |
<prop k="color2" v="255,220,115,51"/> | |
<prop k="discrete" v="0"/> | |
<prop k="rampType" v="gradient"/> | |
<prop k="stops" v="0.278729;21,27,30,230:0.449878;0,132,168,51:0.603912;171,107,212,0:0.809291;255,193,127,38"/> |
bounding_boxes = [] | |
features = iface.activeLayer().selectedFeatures() | |
for feature in features: | |
bounding_boxes.append({ | |
'city': feature.attributes()[2], | |
'max_x': feature.geometry().boundingBox().toRectF().topRight().x(), | |
'max_y': feature.geometry().boundingBox().toRectF().topRight().y(), | |
'min_x': feature.geometry().boundingBox().toRectF().bottomLeft().x(), |