/* *****************************************************************************
 * 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 System.import('./src/extension_impl'); }, {});
  // generator-phovea:begin
<%- extensions.map((d) => `  registry.push('${d.type}', '${d.id}', function() { return System.import('./src/${d.module}'); }, ${stringify(d.extras, ' ')});`).join('\n\n') %>
  // generator-phovea:end
};


@@ -533,39 +533,32 @@
 tion() %7B return 
-System.
 import('./src/ex
@@ -700,15 +700,8 @@
 urn 
-System.
 impo

use direct import function, see phovea/phovea_core#116