<commit_before>import Ember from 'ember';
import PropertyBindings from 'ember-binding-macros/mixins/property-bindings';

/**
 * A component to represent a number that must fall between two
 * (inclusive) bounds and can be updated by a discrete step size.
 * See: http://www.w3.org/wiki/HTML/Elements/input/range

 * For example:
 *
 *
 *   {{x-slider min=0 max=100 step=1 value=someNumber}}
 *
 * @class XSliderComponent
 */
export default Ember.Component.extend(PropertyBindings, {
  type: "range",
  tagName: ['input'],
  classNames: ['x-slider'],
  propertyBindings: ['value > element.value'],
  attributeBindings: ['min', 'max', 'step', 'type', 'name'],

  /**
   * The minimum value that this component's `value` property may
   * have.
   *
   * @property min
   * @type {Number}
   * @default 0
   */
  min: 0,

  /**
   * The maximum value (inclusive) that this component's `value` may
   * have.
   *
   * @property max
   * @type {Number}
   * @default 100
   */
  max: 100,

  /**
   * The "granularity". The value of the input will be a multiple of<commit_msg>Add list to attribute bindings<commit_after>import Ember from 'ember';
import PropertyBindings from 'ember-binding-macros/mixins/property-bindings';

/**
 * A component to represent a number that must fall between two
 * (inclusive) bounds and can be updated by a discrete step size.
 * See: http://www.w3.org/wiki/HTML/Elements/input/range

 * For example:
 *
 *
 *   {{x-slider min=0 max=100 step=1 value=someNumber}}
 *
 * @class XSliderComponent
 */
export default Ember.Component.extend(PropertyBindings, {
  type: "range",
  tagName: ['input'],
  classNames: ['x-slider'],
  propertyBindings: ['value > element.value'],
  attributeBindings: ['min', 'max', 'step', 'type', 'name', 'list'],

  /**
   * The minimum value that this component's `value` property may
   * have.
   *
   * @property min
   * @type {Number}
   * @default 0
   */
  min: 0,

  /**
   * The maximum value (inclusive) that this component's `value` may
   * have.
   *
   * @property max
   * @type {Number}
   * @default 100
   */
  max: 100,

  /**
   * The "granularity". The value of the input will be a multiple of
{'fraction_non_alphanumeric': 0.1433840479483633, 'fraction_numerical': 0.012909174734900875, 'mean_word_length': 3.3055555555555554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5740970', 'n_tokens_mistral': 727, 'n_tokens_neox': 693, 'n_words': 218}