<commit_before>// FIXME decide default value for snapToPixel

goog.provide('ol.style.Image');
goog.provide('ol.style.ImageState');

goog.require('goog.array');
goog.require('goog.asserts');
goog.require('goog.events');
goog.require('goog.events.EventTarget');
goog.require('goog.events.EventType');


/**
 * @enum {number}
 */
ol.style.ImageState = {
  IDLE: 0,
  LOADING: 1,
  LOADED: 2,
  ERROR: 3
};



/**
 * @constructor
 * @param {olx.style.ImageOptions} options Options.
 * @extends {goog.events.EventTarget}
 */
ol.style.Image = function(options) {

  goog.base(this);

  /**
   * @type {ol.Pixel}
   */
  this.anchor = options.anchor;<commit_msg>Make options argument to ol.style.Image optional<commit_after>// FIXME decide default value for snapToPixel

goog.provide('ol.style.Image');
goog.provide('ol.style.ImageState');

goog.require('goog.array');
goog.require('goog.asserts');
goog.require('goog.events');
goog.require('goog.events.EventTarget');
goog.require('goog.events.EventType');


/**
 * @enum {number}
 */
ol.style.ImageState = {
  IDLE: 0,
  LOADING: 1,
  LOADED: 2,
  ERROR: 3
};



/**
 * @constructor
 * @param {olx.style.ImageOptions=} opt_options Options.
 * @extends {goog.events.EventTarget}
 */
ol.style.Image = function(opt_options) {

  var options = goog.isDef(opt_options) ? opt_options : {};

  goog.base(this);

  /**
   * @type {ol.Pixel}
   */
  this.anchor = options.anchor;
{'fraction_non_alphanumeric': 0.18374558303886926, 'fraction_numerical': 0.005653710247349823, 'mean_word_length': 4.093525179856115, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6116248', 'n_tokens_mistral': 542, 'n_tokens_neox': 489, 'n_words': 86}