<commit_before>Handlebars Template File Converter
==================================


    Handlebars = require('handlebars')

[Extensive collection of Handlebars helpers](http://assemble.io/helpers/):

    require('handlebars-helpers').register(Handlebars, {});

    class iCmsHandlebars

        @_registereds: []

        @name: "handlebars"
        @type: "Template"
        @priority: 0

        constructor: () ->

        @run: (aContent, aConfig) ->
            return aContent

        @register: (aClass) ->
            registereds = iCmsConverter._registereds
            result = aClass not in registereds
            registereds.push aClass if result
            return result

        @unregister: (aClass) ->
            registereds = iCmsConverter._registereds
            result = registereds.indexOf(aClass)
            registereds.splice(result, 1) if result >= 0
            return result >= 0

    module.exports = iCmsHandlebars

<commit_msg>+ handlebars template converter<commit_after>Handlebars Template File Converter
==================================


    Handlebars = require('handlebars')

[Extensive collection of Handlebars helpers](http://assemble.io/helpers/):

    require('handlebars-helpers').register(Handlebars, {});

    class iCmsHandlebars

        @_registereds: []

        @name: "handlebars"
        @type: "Template"
        @priority: 0

        constructor: () ->

        @compile: (aContent) ->
            return Handlebars.compile(aContent)

        @run: (aContent, aConfig) ->
            vTemplate = Handlebars.compile(aContent)
            return vTemplate(aConfig)

        @register: (aClass) ->
            registereds = iCmsConverter._registereds
            result = aClass not in registereds
            registereds.push aClass if result
            return result

        @unregister: (aClass) ->
            registereds = iCmsConverter._registereds
            result = registereds.indexOf(aClass)
            registereds.splice(result, 1) if result >= 0
            return result >= 0

    module.exports = iCmsHandlebars


{'fraction_non_alphanumeric': 0.12535885167464114, 'fraction_numerical': 0.003827751196172249, 'mean_word_length': 2.3085443037974684, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '4128804', 'n_tokens_mistral': 563, 'n_tokens_neox': 531, 'n_words': 125}