body
.(function(w, d) {
t = d.getElementsByTagName("script")[0];
s = d.createElement("script");
s.type = "text/javascript";
s.textContent = "alert('hello')";
d.body.appendChild(s);
})(this, this.document);
var sync1 = $("#sync1");
var sync2 = $("#sync2");
console.log(sync1);
console.log(sync2);
...
$('.goods-out').html(out);
...(вызов функции инициализации owl)
import appReducer from '../reducers';
const rootReducer = (state, action) => {
if (action.type === 'URL_CHANGED') {
state = undefined;
}
return appReducer(state, action);
};
{
1: {
id: 1,
count: 1,
amount: 100
},
2: {
id: 2,
count: 52,
amount: 1200
}
}