<commit_before>var TilingSprite = require('../../lib/pixi/src/extras/TilingSprite'),
    utils = require('../core/utils'),
    mixin = require('./mixin');

utils.mixin(TilingSprite, mixin);

//TODO: Funciona fatal, recortado la textura, situandola mal, no respetando la escala, quizás sea cosa de la v3 de pixi?

module.exports = TilingSprite;<commit_msg>TilingSprite now use the sprite name like ID<commit_after>var PixiTilingSprite = require('../../lib/pixi/src/extras/TilingSprite'),
    utils = require('../core/utils'),
    mixin = require('./mixin');

function TilingSprite(texture, width, height){
    if(typeof texture === "string"){
        texture = utils.assetCache.getTexture(texture);
    }
    PixiTilingSprite.call(this, texture, width, height);
}

TilingSprite.prototype = Object.create(PixiTilingSprite.prototype);
TilingSprite.prototype.constructor = TilingSprite;
utils.mixin(TilingSprite, mixin);

//TODO: Funciona fatal, recortado la textura, situandola mal, no respetando la escala, quizás sea cosa de la v3 de pixi?

module.exports = TilingSprite;
{'fraction_non_alphanumeric': 0.13551401869158877, 'fraction_numerical': 0.001869158878504673, 'mean_word_length': 4.636842105263158, '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': '4794689', 'n_tokens_mistral': 351, 'n_tokens_neox': 354, 'n_words': 85}