Revert "chore: Linting for markdown and js"
This reverts commit 1c92e0f655
.
This commit is contained in:
parent
994874fa72
commit
cba1ab19c8
6627 changed files with 25791 additions and 24211 deletions
|
@ -1,8 +1,7 @@
|
|||
***
|
||||
|
||||
title: Design
|
||||
---
|
||||
title: Design
|
||||
order: 10
|
||||
---------
|
||||
---
|
||||
|
||||
The `Design` object in FreeSewing's core library serves a single purpose:
|
||||
To instantiate new pattern designs.
|
||||
|
@ -17,13 +16,13 @@ function freesewing.Design(
|
|||
)
|
||||
```
|
||||
|
||||
This constructor creates a new pattern design.
|
||||
This constructor creates a new pattern design.
|
||||
It takes the following arguments:
|
||||
|
||||
* `config` : The pattern configuration
|
||||
* `plugins` : Either a [plugin object](/guides/plugins/), or an array of plugin objects
|
||||
* `conditionalPlugins` : Either a [conditional plugin object](/guides/plugins/conditionally-loading-build-time-plugins/), or an array
|
||||
of conditional plugin objects to (conditionally) load in your pattern
|
||||
- `config` : The pattern configuration
|
||||
- `plugins` : Either a [plugin object](/guides/plugins/), or an array of plugin objects
|
||||
- `conditionalPlugins` : Either a [conditional plugin object](/guides/plugins/conditionally-loading-build-time-plugins/), or an array
|
||||
of conditional plugin objects to (conditionally) load in your pattern
|
||||
|
||||
```js
|
||||
import freesewing from "@freesewing/core"
|
||||
|
@ -36,9 +35,9 @@ const Sorcha = new freesewing.Design(config, plugins)
|
|||
|
||||
<Tip>
|
||||
|
||||
This method is a *super-constructor*. It will return a constructor
|
||||
This method is a *super-constructor*. It will return a constructor
|
||||
method that will become the default export of your design and
|
||||
should be called to instantiate your pattern.
|
||||
should be called to instantiate your pattern.
|
||||
|
||||
See [creating a new pattern design](/howtos/code/create-new-design) for a complete example.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue