<commit_before>goog.require('ol.Map');
goog.require('ol.RendererHint');
goog.require('ol.View2D');
goog.require('ol.layer.Tile');
goog.require('ol.source.OSM');

if (!ol.webgl.SUPPORTED) {
  var info = document.getElementById('no-webgl');
  /**
   * display error message
   */
  info.style.display = '';
} else {

  var osm = new ol.layer.Tile({
    source: new ol.source.OSM()
  });

  var map = new ol.Map({
    layers: [osm],
    renderer: ol.RendererHint.WEBGL,
    target: 'map',
    view: new ol.View2D({
      center: [0, 0],
      zoom: 2
    })<commit_msg>Use ol.BrowserFeature.HAS_WEBGL in layer-clipping-webgl example<commit_after>goog.require('ol.BrowserFeature');
goog.require('ol.Map');
goog.require('ol.RendererHint');
goog.require('ol.View2D');
goog.require('ol.layer.Tile');
goog.require('ol.source.OSM');

if (!ol.BrowserFeature.HAS_WEBGL) {
  var info = document.getElementById('no-webgl');
  /**
   * display error message
   */
  info.style.display = '';
} else {

  var osm = new ol.layer.Tile({
    source: new ol.source.OSM()
  });

  var map = new ol.Map({
    layers: [osm],
    renderer: ol.RendererHint.WEBGL,
    target: 'map',
    view: new ol.View2D({
      center: [0, 0],
      zoom: 2
    })
{'fraction_non_alphanumeric': 0.1867862969004894, 'fraction_numerical': 0.008156606851549755, 'mean_word_length': 3.2902097902097904, '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': '1057193', 'n_tokens_mistral': 466, 'n_tokens_neox': 444, 'n_words': 85}