Authored by lore-w

use.phtml报错问题 code review by liuyue

... ... @@ -13,13 +13,11 @@
<script>
seajs.use(['js/product/list', 'js/product/product'], function (list, product) {
$(window).resize(function () {
window.onresize = function () {
setTimeout(function () {
function () {
product.init(5);
}
}, 300);
});
};
});
</script>
... ... @@ -30,13 +28,11 @@
<script>
seajs.use(['js/product/list', 'js/product/product'], function (list, product) {
$(window).resize(function () {
window.onresize = function () {
setTimeout(function () {
function () {
product.init(4);
}
}, 300);
});
};
});
</script>
... ...