<commit_before>if (typeof requirejs === 'undefined') requirejs = require('requirejs');

requirejs.config({
  paths : {
    'pex' : '../../src/pex/'
  },
  map : {
    '*' : {
      'pex' : '../../src/pex',
      'text' : '../../tools/lib/text.js'
    }
  }
});

requirejs(['pex', 'pex/sys/IO', 'pex/utils/Log', 'text!readme.txt'], function(pex, IO, Log, ReadmeTXT) {
  pex.sys.Window.create({
    settings: {
      width: 1280,
      height: 720,
      type: '3d',
      vsync: true,
      multisample: true,
      fullscreen: false,
      center: true,
      canvas : pex.sys.Platform.isBrowser ? document.getElementById('canvas') : null
    },
    init: function() {
    },
    draw: function() {
      var gl = this.gl;
      gl.clearColor(1, 0, 0, 1);
      gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
    }
  })
});
<commit_msg>Added path to libs for lose example<commit_after>if (typeof requirejs === 'undefined') requirejs = require('requirejs');

requirejs.config({
  paths : {
    'pex' : '../../src/pex/'
  },
  map : {
    '*' : {
      'pex' : '../../src/pex',
      'lib' : '../../src/lib',
      'text' : '../../tools/lib/text.js'
    }
  }
});

requirejs(['pex', 'pex/sys/IO', 'pex/utils/Log', 'text!readme.txt'], function(pex, IO, Log, ReadmeTXT) {
  pex.sys.Window.create({
    settings: {
      width: 1280,
      height: 720,
      type: '3d',
      vsync: true,
      multisample: true,
      fullscreen: false,
      center: true,
      canvas : pex.sys.Platform.isBrowser ? document.getElementById('canvas') : null
    },
    init: function() {
    },
    draw: function() {
      var gl = this.gl;
      gl.clearColor(1, 0, 0, 1);
      gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
    }
  })
});

{'fraction_non_alphanumeric': 0.20437535981577432, 'fraction_numerical': 0.013816925734024179, 'mean_word_length': 2.2485981308411214, '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': '4803989', 'n_tokens_mistral': 661, 'n_tokens_neox': 629, 'n_words': 120}