<commit_before>// DecentCMS (c) 2014 <NAME>, under MIT. See LICENSE.txt for licensing details.
'use strict';

// By default, display type main goes to the main zone.
module.exports = function(scope, rootShape, shapes) {
  var shapeHelper = scope.require('shape');
  if (!shapes) return;
  for (var i = 0; i < shapes.length; i++) {
    var shape = shapes[i];
    var temp = shapeHelper.temp(shape);
    var meta = shapeHelper.meta(shape)
    if (meta.type === 'shape-item-promise' && temp.displayType === 'main') {
      shapeHelper.place(rootShape, 'main', shape, 'after');
      shapes.splice(i--, 1);
    }
  }
};<commit_msg>Add missing semicolon in content module's placement file.<commit_after>// DecentCMS (c) 2014 <NAME>, under MIT. See LICENSE.txt for licensing details.
'use strict';

// By default, display type main goes to the main zone.
module.exports = function(scope, rootShape, shapes) {
  var shapeHelper = scope.require('shape');
  if (!shapes) return;
  for (var i = 0; i < shapes.length; i++) {
    var shape = shapes[i];
    var temp = shapeHelper.temp(shape);
    var meta = shapeHelper.meta(shape);
    if (meta.type === 'shape-item-promise' && temp.displayType === 'main') {
      shapeHelper.place(rootShape, 'main', shape, 'after');
      shapes.splice(i--, 1);
    }
  }
};
{'fraction_non_alphanumeric': 0.15935334872979215, 'fraction_numerical': 0.009237875288683603, 'mean_word_length': 3.529616724738676, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '3931698', 'n_tokens_mistral': 430, 'n_tokens_neox': 414, 'n_words': 129}