controller.js
516 Bytes
'use strict';
import {
Controller
} from 'js/yoho-mvc';
const ProductListWithFilter = require('js/product/list/product-list-with-filter');
const lazyLoad = require('yoho-jquery-lazyload');
new ProductListWithFilter({
page: 2,
material: true,
unionType: window.queryString.union_type
});
class MaterialController extends Controller {
constructor() {
super();
// productListWithFilter.getFilter();
lazyLoad($('img.lazy'));
}
}
module.exports = MaterialController;