change
. .send()
у переменной res
вышестоящего скоупа.router.post('/hello', jsonParser, function(req, res){
// тут "res" один
request(url, options, (error, res, body) => {
// тут "res" уже другой
// поэтому res.statusCode - работает, а res.send() - нет
});
});
<option value="217" data-price="2000" data-compare-price="2400">ОФД на 12 месяцев 2000р.</option>
<option value="218" data-price="2400" data-compare-price="3000">ОФД на 15 месяцев 2400р.</option>
<option value="219" data-price="4500" data-compare-price="6500">ОФД на 36 месяцев 4500р.</option>
This rule enforces consistent line breaks inside braces of object literals or destructuring assignments.
const {
parallel, src, dest, watch
} = require('gulp');
animation: t557__snow 20s linear infinite;
mouseenter
и mouseleave
.$(this).off('mouseenter mouseleave');
$(".map-show").hover(function () {
var map = $(this).attr("data-map");
var map_width = $(window).width();
var map_height = $(this).attr("data-map-height");
$(this).css("height", map_height);
if (map_width > window) { map_width = window; }
$(this).html('<iframe src="' + map + '" width="' + map_width + '" height="' + map_height + '" frameborder="0" style="border:0" allowfullscreen></iframe>');
$(this).off('mouseenter mouseleave');
});