From 6915ba7e367277bd76c6d0ccdd86ba8c5e1f69e1 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Fri, 23 Dec 2022 17:34:00 +0100 Subject: [PATCH] fixup! --- docs/developer/patterns.rst | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/developer/patterns.rst b/docs/developer/patterns.rst index 2d03f4299..9be7d1e47 100644 --- a/docs/developer/patterns.rst +++ b/docs/developer/patterns.rst @@ -27,16 +27,7 @@ Below is a minimal skeleton for a pattern. // Export BasePattern as named export. // You can import it as ``import { Pattern } from "./{{{ pattern.name }}}";`` export { Pattern }; - define([ - 'require' - '../registry' - ], function(require, registry) { - var pattern_spec = { - name: "mypattern", - }; - registry.register(pattern_spec); - }); This skeleton does several things: