@@ -37,7 +37,7 @@ angular.module('ui.select', [])
37
37
* Parses "repeat" attribute.
38
38
*
39
39
* Taken from AngularJS ngRepeat source code
40
- * See https://github.com/angular/angular.js/blob/55848a9139 /src/ng/directive/ngRepeat.js#L211
40
+ * See https://github.com/angular/angular.js/blob/v1.2.15 /src/ng/directive/ngRepeat.js#L211
41
41
*
42
42
* Original discussion about parsing "repeat" attribute instead of fully relying on ng-repeat:
43
43
* https://github.com/angular-ui/ui-select/commit/5dd63ad#commitcomment-5504697
@@ -144,7 +144,7 @@ angular.module('ui.select', [])
144
144
ctrl . parseRepeatAttr = function ( repeatAttr ) {
145
145
var repeat = RepeatParser . parse ( repeatAttr ) ;
146
146
147
- // See https://github.com/angular/angular.js/blob/55848a9139 /src/ng/directive/ngRepeat.js#L259
147
+ // See https://github.com/angular/angular.js/blob/v1.2.15 /src/ng/directive/ngRepeat.js#L259
148
148
$scope . $watchCollection ( repeat . rhs , function ( items ) {
149
149
150
150
if ( items === undefined || items === null ) {
@@ -176,8 +176,8 @@ angular.module('ui.select', [])
176
176
177
177
// Throttle / debounce
178
178
//
179
- // See https://github.com/angular-ui/bootstrap/blob/0d4c2e21c3 /src/typeahead/typeahead.js#L162
180
- // FYI AngularStrap typeahead does not have debouncing: https://github.com/mgcrea/angular-strap/blob/1529ab4bbc /src/typeahead/typeahead.js#L172
179
+ // See https://github.com/angular-ui/bootstrap/blob/0.10.0 /src/typeahead/typeahead.js#L155
180
+ // FYI AngularStrap typeahead does not have debouncing: https://github.com/mgcrea/angular-strap/blob/v2.0.0-rc.4 /src/typeahead/typeahead.js#L177
181
181
if ( _refreshDelayPromise ) {
182
182
$timeout . cancel ( _refreshDelayPromise ) ;
183
183
}
@@ -257,7 +257,7 @@ angular.module('ui.select', [])
257
257
}
258
258
} ) ;
259
259
260
- // See https://github.com/ivaynberg/select2/blob/70873abe9d /select2.js#L1431
260
+ // See https://github.com/ivaynberg/select2/blob/3.4.6 /select2.js#L1431
261
261
function _ensureHighlightVisible ( ) {
262
262
var container = $element . querySelectorAll ( '.ui-select-choices-content' ) ;
263
263
var rows = container . querySelectorAll ( '.ui-select-choices-row' ) ;
@@ -439,7 +439,7 @@ angular.module('ui.select', [])
439
439
* Highlights text that matches $select.search.
440
440
*
441
441
* Taken from AngularUI Bootstrap Typeahead
442
- * See https://github.com/angular-ui/bootstrap/blob/d0024931de /src/typeahead/typeahead.js#L352
442
+ * See https://github.com/angular-ui/bootstrap/blob/0.10.0 /src/typeahead/typeahead.js#L340
443
443
*/
444
444
. filter ( 'highlight' , function ( ) {
445
445
function escapeRegexp ( queryToEscape ) {
0 commit comments