Skip to content

Commit

Permalink
docs: remove toEmbeddedRefract
Browse files Browse the repository at this point in the history
This function has been removed in prior Minim (0.17.0) and was
mistakenly left in the documentation.

Closes #254
  • Loading branch information
kylef committed Apr 20, 2020
1 parent f5b19ae commit 1b6a7ef
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,25 +136,6 @@ var ref = element.toRef();
var ref = element.toRef('attributes');
```

#### toEmbeddedRefract

The `toEmbeddedRefract` method returns the Embedded Refract value of the Minim element.

```javascript
var stringElement = minim.toElement("foobar");
stringElement.attributes.set('a', 'b');
var embedded = stringElement.toEmbeddedRefract();
// Serializes to:
//
// {
// _refract: {
// element: 'string',
// attributes: { a: 'b' },
// content: 'foobar'
// }
// }
```

#### equals

Allows for testing equality with the content of the element.
Expand Down

0 comments on commit 1b6a7ef

Please sign in to comment.