<commit_before>/**
 * Copyright (c) 2013-2015 <NAME>. All rights reserved.
 * Sources at https://github.com/Memba
 */

/* jshint browser: true, jquery: true, mocha: true, expr: true */

;(function (window, $, undefined) {

    'use strict';

    var expect = window.chai.expect;
    var sinon = window.sinon;
    var kendo = window.kendo;
    var ui = kendo.ui;
    var AssetManager = ui.AssetManager;
    var CLICK = 'click';
    var FIXTURES = '#fixtures';
    var ASSETMANAGER1 = '<div id="assetmanager1"></div>';
    var ASSETMANAGER2 = '<div id="assetmanager2" data-role="assetmanager"></div>';
    var O_COLLECTIONS = [
        {
            name: 'Dark Grey',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/o_collection/svg/dark_grey/index.json'
            }
        },
        {
            name: 'Office',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/o_collection/svg/office/index.json'
            }
        },
        {
            name: 'White',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/o_collection/svg/white/index.json'
            }
        }
    ];
    var V_COLLECTIONS = [
        {
            name: '32x32',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/v_collection/png/32x32/index.json'
            }
        },
        {
            name: '64x64',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/v_collection/png/64x64/index.json'
            }
        },
        {
            name: '128x128',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/v_collection/png/128x128/index.json'
            }
        },
        {
            name: '256x256',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/v_collection/png/256x256/index.json'
            }
        }
    ];
    var EXTENSIONS = ['.gif', '.jpg', '.png', '.svg'];
    var SCHEMES = {
        cdn: 'https://d2rvsmwqptocm.cloudfront.net/',
        data: 'http://localhost:63342/Kidoju.Widgets/test/data/images/miscellaneous/'
    };
    var TTL = 500;

    describe('kidoju.widgets.assetmanager', function () {

        before(function () {
            if (window.__karma__ && $(FIXTURES).length === 0) {
                $('body').append('<div id="fixtures"></div>');
            }
        });

        describe('Availability', function () {

            it('requirements', function () {<commit_msg>Increased TTL to try and fix Travis build<commit_after>/**
 * Copyright (c) 2013-2015 Memba Sarl. All rights reserved.
 * Sources at https://github.com/Memba
 */

/* jshint browser: true, jquery: true, mocha: true, expr: true */

;(function (window, $, undefined) {

    'use strict';

    var expect = window.chai.expect;
    var sinon = window.sinon;
    var kendo = window.kendo;
    var ui = kendo.ui;
    var AssetManager = ui.AssetManager;
    var CLICK = 'click';
    var FIXTURES = '#fixtures';
    var ASSETMANAGER1 = '<div id="assetmanager1"></div>';
    var ASSETMANAGER2 = '<div id="assetmanager2" data-role="assetmanager"></div>';
    var O_COLLECTIONS = [
        {
            name: 'Dark Grey',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/o_collection/svg/dark_grey/index.json'
            }
        },
        {
            name: 'Office',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/o_collection/svg/office/index.json'
            }
        },
        {
            name: 'White',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/o_collection/svg/white/index.json'
            }
        }
    ];
    var V_COLLECTIONS = [
        {
            name: '32x32',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/v_collection/png/32x32/index.json'
            }
        },
        {
            name: '64x64',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/v_collection/png/64x64/index.json'
            }
        },
        {
            name: '128x128',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/v_collection/png/128x128/index.json'
            }
        },
        {
            name: '256x256',
            transport: {
                read: 'http://localhost:63342/Kidoju.Widgets/test/data/images/v_collection/png/256x256/index.json'
            }
        }
    ];
    var EXTENSIONS = ['.gif', '.jpg', '.png', '.svg'];
    var SCHEMES = {
        cdn: 'https://d2rvsmwqptocm.cloudfront.net/',
        data: 'http://localhost:63342/Kidoju.Widgets/test/data/images/miscellaneous/'
    };
    var TTL = 750;

    describe('kidoju.widgets.assetmanager', function () {

        before(function () {
            if (window.__karma__ && $(FIXTURES).length === 0) {
                $('body').append('<div id="fixtures"></div>');
            }
        });

        describe('Availability', function () {

            it('requirements', function () {
{'fraction_non_alphanumeric': 0.15003723008190617, 'fraction_numerical': 0.03611317944899479, 'mean_word_length': 1.7483375959079284, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 4, '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': '4257670', 'n_tokens_mistral': 1850, 'n_tokens_neox': 1671, 'n_words': 254}