code: function(data) {
  			var i, n, value, self = this;
  	
  			if ($.isArray(data)) {
  				for (i = 0, n = data.length; i < n; i++) {
  					self.addOption(data[i]);
  				}
  				return;
  			}
  	
  			if (value = self.registerOption(data)) {
  				self.userOptions[value] = true;
  				self.lastQuery = null;
  				self.trigger('option_add', value, data);
  			}
  		}
docs: Adds an available option. If it already exists,
  nothing will happen. Note: this does not refresh
  the options list dropdown (use `refreshOptions`
  for that).
  
  Usage:
  
  this.addOption(data)
  
  @param {object|array} data