diff --git a/lib/getLayoutInstance/README.md b/lib/getLayoutInstance/README.md index 452959f..7ce0204 100644 --- a/lib/getLayoutInstance/README.md +++ b/lib/getLayoutInstance/README.md @@ -11,7 +11,7 @@ Get layout instance from uri #### Example ```js -getComponentInstance('nymag.com/press/_layouts/base/instances/foobarbaz@published') +getLayoutInstance('nymag.com/press/_layouts/base/instances/foobarbaz@published') //=> 'foobarbaz' ``` diff --git a/lib/getLayoutName/README.md b/lib/getLayoutName/README.md index 53394d3..2c5d6aa 100644 --- a/lib/getLayoutName/README.md +++ b/lib/getLayoutName/README.md @@ -11,7 +11,7 @@ Get layout name from uri #### Example ```js -getComponentName('nymag.com/press/_layouts/base/instances/foobarbaz@published') +getLayoutName('nymag.com/press/_layouts/base/instances/foobarbaz@published') //=> 'base' ``` diff --git a/lib/isLayout/README.md b/lib/isLayout/README.md index e7c37dd..f2494a4 100644 --- a/lib/isLayout/README.md +++ b/lib/isLayout/README.md @@ -11,7 +11,7 @@ Check if '/_layouts/' is in the uri #### Example ```js -isComponent('nymag.com/press/_layouts/base/instances/foobarbaz@published') +isLayout('nymag.com/press/_layouts/base/instances/foobarbaz@published') //=> true ```