<commit_before>// ==========================================================================
// Project:   SproutCore Handlebar Views
// Copyright: ©2011 Strobe Inc. and contributors.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================
/*globals Handlebars */

require("sproutcore-handlebars/ext");

// Find templates stored in the head tag as script tags and make them available
// to SC.CoreView in the global SC.TEMPLATES object.

SC.$(document).ready(function() {
  SC.$('script[type="text/html"]')
    .each(function() {
    // Get a reference to the script tag
    var script = SC.$(this),
      // Get the name of the script, used by SC.View's templateName property.
      // First look for data-template-name attribute, then fall back to its
      // id if no name is found.<commit_msg>Look for <script> tags of type text/x-handlebars to load. People were rightfully getting emo that Handlebars templates are not text/html.<commit_after>// ==========================================================================
// Project:   SproutCore Handlebar Views
// Copyright: ©2011 Strobe Inc. and contributors.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================
/*globals Handlebars */

require("sproutcore-handlebars/ext");

// Find templates stored in the head tag as script tags and make them available
// to SC.CoreView in the global SC.TEMPLATES object.

SC.$(document).ready(function() {
  SC.$('script[type="text/html"], script[type="text/x-handlebars"]')
    .each(function() {
    // Get a reference to the script tag
    var script = SC.$(this),
      // Get the name of the script, used by SC.View's templateName property.
      // First look for data-template-name attribute, then fall back to its
      // id if no name is found.
{'fraction_non_alphanumeric': 0.25444096133751304, 'fraction_numerical': 0.0041797283176593526, 'mean_word_length': 3.961139896373057, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2357445', 'n_tokens_mistral': 495, 'n_tokens_neox': 464, 'n_words': 183}