• 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
  • cart
  • index
  • recommend-for-you.js
  • eslint + stylelint
    e8806a9f
    by 陈峰
    2017-01-12 16:42:27 +0800  
    Browse Files
recommend-for-you.js 439 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
/**
 * 为你优选操作
 * @author: feng.chen<feng.chen@yoho.cn>
 * @date: 2016/12/29
 */

'use strict';

let $ = require('yoho-jquery');

let recommendObj = {
    init(handle) {
        let self = this;

        self.handle = handle;

        if ($('.recommend-for-you').length) {
            setTimeout(() => {
                require('../recommend-for-you-cart');
            }, 0);
        }
    }
};

module.exports = recommendObj;