You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
Copy file name to clipboardexpand all lines: src/typeahead/test/typeahead.spec.js
-4
Original file line number
Diff line number
Diff line change
@@ -274,7 +274,6 @@ describe('typeahead tests', function () {
274
274
$templateCache.put('custom.html','<p>{{ index }} {{ match.label }}</p>');
275
275
276
276
varelement=prepareInputEl('<div><input ng-model="result" typeahead-template-url="custom.html" typeahead="state as state.name for state in states | filter:$viewValue"></div>');
277
-
varinputEl=findInput(element);
278
277
279
278
changeInputValueTo(element,'Al');
280
279
@@ -341,7 +340,6 @@ describe('typeahead tests', function () {
341
340
$scope.$label=$label;
342
341
};
343
342
varelement=prepareInputEl('<div><input ng-model="result" typeahead-on-select="onSelect($item, $model, $label)" typeahead="state.code as state.name for state in states | filter:$viewValue"></div>');
344
-
varinputEl=findInput(element);
345
343
346
344
changeInputValueTo(element,'Alas');
347
345
triggerKeyDown(element,13);
@@ -447,7 +445,6 @@ describe('typeahead tests', function () {
447
445
448
446
it('issue 231 - closes matches popup on click outside typeahead',function(){
449
447
varelement=prepareInputEl('<div><input ng-model="result" typeahead="item for item in source | filter:$viewValue"></div>');
450
-
varinputEl=findInput(element);
451
448
452
449
changeInputValueTo(element,'b');
453
450
@@ -513,7 +510,6 @@ describe('typeahead tests', function () {
513
510
});
514
511
};
515
512
varelement=prepareInputEl('<div><input ng-model="result" typeahead-min-length="2" typeahead-loading="isLoading" typeahead="item for item in items($viewValue)"></div>');
0 commit comments