diff options
Diffstat (limited to 'src/scenario/Scenario.js')
| -rw-r--r-- | src/scenario/Scenario.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scenario/Scenario.js b/src/scenario/Scenario.js index 81c85a61..a70948cc 100644 --- a/src/scenario/Scenario.js +++ b/src/scenario/Scenario.js @@ -309,9 +309,9 @@ function browserTrigger(element, type) { */ _jQuery.fn.bindings = function(name) { function contains(text, value) { - return value instanceof RegExp ? - value.test(text) : - text && text.indexOf(value) >= 0; + return value instanceof RegExp + ? value.test(text) + : text && text.indexOf(value) >= 0; } var result = []; this.find('.ng-binding:visible').each(function() { |
