{"size": 1074, "ext": "js", "max_stars_repo_path": "src/core/adapter/extend/base/type/split.js", "max_stars_repo_name": "ucla/WebBlocks", "max_stars_repo_stars_event_min_datetime": "2015-09-29T20:34:46.000Z", "max_stars_repo_stars_event_max_datetime": "2019-06-12T23:16:25.000Z", "max_issues_repo_path": "src/core/adapter/extend/base/type/split.js", "max_issues_repo_name": "ucla/WebBlocks", "max_issues_repo_issues_event_min_datetime": "2020-10-01T22:32:32.000Z", "max_issues_repo_issues_event_max_datetime": "2020-10-01T22:32:32.000Z", "max_forks_repo_path": "src/core/adapter/extend/base/type/split.js", "max_forks_repo_name": "ucla/WebBlocks", "max_forks_repo_forks_event_min_datetime": "2016-10-25T03:58:10.000Z", "max_forks_repo_forks_event_max_datetime": "2020-10-01T16:25:56.000Z"}
{"max_stars_count": 8, "max_issues_count": 1, "max_forks_count": 2, "avg_line_length": 24.4090909091, "max_line_length": 83, "alphanum_fraction": 0.5549348231}
//!requires_package jquery
//!requires_package lettering

typeof jQuery != 'undefined' && (function ($, window, document, undefined) {

    $(document).ready(function(){

        if(!jQuery().lettering)
            return;

        var linesClass = 'text-split-lines',
            wordsClass = 'text-split-words',
            charsClass = 'text-split-chars'

        $('.'+linesClass).each(function(){

            var $this = $(this)

            $this.lettering('lines')

            if($this.hasClass(wordsClass))
                $this.removeClass(wordsClass).children('span').addClass(wordsClass)

            if($this.hasClass(charsClass))
                $this.removeClass(charsClass).children('span').addClass(charsClass)

        })

        $('.'+wordsClass).each(function(){

            var $this = $(this)

            $this.lettering('words')

            if($this.hasClass(charsClass))
                $this.removeClass(charsClass).children('span').addClass(charsClass)

        })

        $('.'+charsClass).lettering()

    });

})(jQuery, window, document);