• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • public
  • js
  • 3party
  • material-new
  • controller.js
  • 开发完成
    25a510bf
    by 李靖
    2017-06-15 18:23:55 +0800  
    Browse Files
controller.js 366 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
'use strict';

import {
    Controller
} from 'yoho-mvc';

const allProduct = require('../../product/shop/all-product');
const lazyLoad = require('yoho-jquery-lazyload');

class MaterialController extends Controller {
    constructor() {
        super();
        allProduct.getFilter();
        lazyLoad($('img.lazy'));
    }
}

module.exports = MaterialController;