code: function(selector, options) {
  			var self = this;
  			self.options = options || {};
  			self.selector = selector || 'img';
  			if (self.options.dbl) {
  				enterEventName = touchSupport ? 'doubletap' : 'dblclick';
  			}
  			self.findAllImage();
  			self.createViewer();
  			self.bindEvent();
  		}
docs: 构造函数