Browse Source

Merge pull request #1840 from Rottohawkins/bugfix/selector_manager_documentation

Fixed typo in selector manager documentation
pull/1871/head
Artur Arseniev 7 years ago
committed by GitHub
parent
commit
94e295ef91
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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