Browse Source

Fixed typo in selector manager documentation

pull/1840/head
Rottohawkins 7 years ago
parent
commit
f2234ab1f4
No known key found for this signature in database GPG Key ID: 25904FA4E0D9B402
  1. 3
      docs/api/selector_manager.md
  2. 2
      src/selector_manager/index.js

3
docs/api/selector_manager.md

@ -105,8 +105,7 @@ Get the selector by its name
### Parameters
- `name` **([String][8] \| [Array][9])** Selector name
- `type`
- `tyoe` **[String][8]** Selector type
- `type` **[String][8]** Selector type
### Examples

2
src/selector_manager/index.js

@ -210,7 +210,7 @@ module.exports = config => {
/**
* Get the selector by its name
* @param {String|Array} name Selector name
* @param {String} tyoe Selector type
* @param {String} type Selector type
* @return {Model|Array}
* @example
* const selector = selectorManager.get('selectorName');

Loading…
Cancel
Save