Created
April 24, 2017 16:09
-
-
Save kharandziuk/c85c8bc116879a0847d165782c72dad3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (currents, befores) => { | |
| let found = false; | |
| currents.find((current, index) => { | |
| if (current !== befores[index]) { | |
| unwatch(); | |
| repositioningTooltipService.hide(); | |
| found = true; | |
| } | |
| return found; | |
| }); | |
| }); | |
| (currents, befores) => { | |
| let item = currents.find((current, index) => | |
| current !== befores[index] | |
| ); | |
| if(item) { | |
| unwatch(); | |
| repositioningTooltipService.hide(); | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment