From 1b6a7efe3aebdc36fe70eafe69c1759a6ee2dc7c Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Mon, 20 Apr 2020 15:01:35 +0100 Subject: [PATCH] docs: remove toEmbeddedRefract This function has been removed in prior Minim (0.17.0) and was mistakenly left in the documentation. Closes #254 --- README.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/README.md b/README.md index 2c86cc8d..abeb4967 100644 --- a/README.md +++ b/README.md @@ -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.