UNPKG

fd-gulp-convert-encoding

Version:

convert file to assigned charset

33 lines (21 loc) 648 B
define('detail.modules.sku.View', ['jQuery', 'Class', 'detail.core.Event'], function($, Class, Event) { return Class({ init: function(view, config) { this.onEvnet = $.os.supportsTouch ? 'tap' : 'click'; this.div = view; this.config = config; this._activePurchasingList(); }, _activePurchasingList: function(){ $('a.d-showup', this.div).on('click', function(e){ e.preventDefault(); }); this.div.on(this.onEvnet, function(e){ e.preventDefault(); Event.trigger('showPurchasingListDialog', 'sku'); }) } }); });