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: