Skip to content

Commit

Permalink
Remove redundant helper
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Nov 28, 2023
1 parent 0bedd00 commit ee924ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions src/extensions/inspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,6 @@ export default (host) => {
})],
content: {
view: 'context',
data(data, context) {
// hack to change context, to extend queries with additional methods,
// but avoid polution of user's setup with custom methods
context.isString = value => typeof value === 'string';

return data;
},
modifiers: {
view: 'block',
className: 'toolbar',
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/inspector/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const dataTransitionsList = {
view: 'switch',
content: [
{
when: '$isString: #.isString; transition | $isString() or $ = undefined',
when: 'transition is (string or undefined)',
content: {
view: 'context',
data(data) {
Expand Down

0 comments on commit ee924ae

Please sign in to comment.