<commit_before>/* *****************************************************************************
 * Caleydo - Visualization for Molecular Biology - http://caleydo.org
 * Copyright (c) The Caleydo Team. All rights reserved.
 * Licensed under the new BSD license, available at http://caleydo.org/license
 **************************************************************************** */

//register all extensions in the registry following the given pattern
module.exports = function(registry) {
  //registry.push('extension-type', 'extension-id', function() { return import('./src/extension_impl'); }, {});
  // generator-phovea:begin
  registry.push('view', 'gapminder', function() { return import('./dist/app/gapminder'); }, {
  'location': 'gapminder'
 });

  registry.push('actionFactory', 'gapminder', function() { return import('./dist/app/gapminder'); }, {
  'factory': 'GapMinderCmds.createCmd',
  'creates': '(setGapMinderAttribute|setGapMinderAttributeScale|toggleGapMinderTrails)'
 });

  registry.push('actionCompressor', 'gapminder-setGapMinderAttribute', function() { return import('./dist/app/gapminder'); }, {
  'factory': 'GapMinderCmds.compressSetAttribute',
  'matches': 'setGapMinderAttribute'
 });

  registry.push('actionCompressor', 'gapminder-setGapMinderAttribute', function() { return import('./dist/app/gapminder'); }, {
  'factory': 'GapMinderCmds.compressToggleGapMinderTrails',
  'matches': 'toggleGapMinderTrails'
 });

  registry.push('actionCompressor', 'gapminder-setGapMinderAttributeScale', function() { return import('./dist/app/gapminder'); }, {
  'factory': 'GapMinderCmds.compressSetAttributeScale',
  'matches': 'setGapMinderAttributeScale'
 });

  registry.push('app', 'gapminder', null, {
  'name': 'GapMinder'
 });
  // generator-phovea:end
};

<commit_msg>fix dynamic imports in phovea.ts<commit_after>/* *****************************************************************************
 * Caleydo - Visualization for Molecular Biology - http://caleydo.org
 * Copyright (c) The Caleydo Team. All rights reserved.
 * Licensed under the new BSD license, available at http://caleydo.org/license
 **************************************************************************** */

//register all extensions in the registry following the given pattern
module.exports = function(registry) {
  //registry.push('extension-type', 'extension-id', function() { return import('./src/extension_impl'); }, {});
  // generator-phovea:begin
  registry.push('view', 'gapminder', function() { return import('./dist/app/gapminder').then((g) => g.GapMinder); }, {
  'location': 'gapminder'
 });

  registry.push('actionFactory', 'gapminder', function() { return import('./dist/app/gapminder').then((g) => g.GapMinderCmds); }, {
  'factory': 'createCmd',
  'creates': '(setGapMinderAttribute|setGapMinderAttributeScale|toggleGapMinderTrails)'
 });

  registry.push('actionCompressor', 'gapminder-setGapMinderAttribute', function() { return import('./dist/app/gapminder').then((g) => g.GapMinderCmds); }, {
  'factory': 'compressSetAttribute',
  'matches': 'setGapMinderAttribute'
 });

  registry.push('actionCompressor', 'gapminder-setGapMinderAttribute', function() { return import('./dist/app/gapminder').then((g) => g.GapMinderCmds); }, {
  'factory': 'compressToggleGapMinderTrails',
  'matches': 'toggleGapMinderTrails'
 });

  registry.push('actionCompressor', 'gapminder-setGapMinderAttributeScale', function() { return import('./dist/app/gapminder').then((g) => g.GapMinderCmds); }, {
  'factory': 'compressSetAttributeScale',
  'matches': 'setGapMinderAttributeScale'
 });

  registry.push('app', 'gapminder', null, {
  'name': 'GapMinder'
 });
  // generator-phovea:end
};


{'fraction_non_alphanumeric': 0.2441860465116279, 'fraction_numerical': 0.0, 'mean_word_length': 6.1686046511627906, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '1133861', 'n_tokens_mistral': 1122, 'n_tokens_neox': 1089, 'n_words': 191}