@@ -78,7 +78,7 @@ describe('ui-select tests', function() {
78
78
{ name :
'Nicole' , email :
'[email protected] ' , group :
'bar' , age :
43 } ,
79
79
{ name :
'Natasha' , email :
'[email protected] ' , group :
'Baz' , age :
54 }
80
80
] ;
81
-
81
+
82
82
scope . peopleObj = {
83
83
'1' :
{ name :
'Adam' , email :
'[email protected] ' , age :
12 , country :
'United States' } ,
84
84
'2' :
{ name :
'Amalie' , email :
'[email protected] ' , age :
12 , country :
'Argentina' } ,
@@ -221,7 +221,7 @@ describe('ui-select tests', function() {
221
221
//uisRepeatParser
222
222
223
223
it ( 'should parse simple repeat syntax' , function ( ) {
224
-
224
+
225
225
var locals = { } ;
226
226
locals . people = [ { name : 'Wladimir' } , { name : 'Samantha' } ] ;
227
227
locals . person = locals . people [ 0 ] ;
@@ -240,7 +240,7 @@ describe('ui-select tests', function() {
240
240
} ) ;
241
241
242
242
it ( 'should parse simple repeat syntax' , function ( ) {
243
-
243
+
244
244
var locals = { } ;
245
245
locals . people = [ { name : 'Wladimir' } , { name : 'Samantha' } ] ;
246
246
locals . person = locals . people [ 0 ] ;
@@ -253,7 +253,7 @@ describe('ui-select tests', function() {
253
253
} ) ;
254
254
255
255
it ( 'should parse simple property binding repeat syntax' , function ( ) {
256
-
256
+
257
257
var locals = { } ;
258
258
locals . people = [ { name : 'Wladimir' } , { name : 'Samantha' } ] ;
259
259
locals . person = locals . people [ 0 ] ;
@@ -266,7 +266,7 @@ describe('ui-select tests', function() {
266
266
} ) ;
267
267
268
268
it ( 'should parse (key, value) repeat syntax' , function ( ) {
269
-
269
+
270
270
var locals = { } ;
271
271
locals . people = { 'WC' : { name : 'Wladimir' } , 'SH' : { name : 'Samantha' } } ;
272
272
locals . person = locals . people [ 0 ] ;
@@ -286,7 +286,7 @@ describe('ui-select tests', function() {
286
286
} ) ;
287
287
288
288
it ( 'should parse simple property binding with (key, value) repeat syntax' , function ( ) {
289
-
289
+
290
290
var locals = { } ;
291
291
locals . people = { 'WC' : { name : 'Wladimir' } , 'SH' : { name : 'Samantha' } } ;
292
292
locals . person = locals . people [ 'WC' ] ;
@@ -300,7 +300,7 @@ describe('ui-select tests', function() {
300
300
} ) ;
301
301
302
302
it ( 'should should accept a "collection expresion" only if its not (key, value) repeat syntax' , function ( ) {
303
-
303
+
304
304
var locals = { } ;
305
305
locals . people = { 'WC' : { name : 'Wladimir' } , 'SH' : { name : 'Samantha' } } ;
306
306
locals . person = locals . people [ 'WC' ] ;
@@ -313,7 +313,7 @@ describe('ui-select tests', function() {
313
313
} ) ;
314
314
315
315
it ( 'should should throw if "collection expresion" used and (key, value) repeat syntax' , function ( ) {
316
-
316
+
317
317
var locals = { } ;
318
318
locals . people = { 'WC' : { name : 'Wladimir' } , 'SH' : { name : 'Samantha' } } ;
319
319
locals . person = locals . people [ 'WC' ] ;
@@ -2140,22 +2140,6 @@ describe('ui-select tests', function() {
2140
2140
expect ( $ ( el ) . scope ( ) . $select . selected . length ) . toBe ( 5 ) ;
2141
2141
} ) ;
2142
2142
2143
- it ( 'should split pastes on ENTER (and with undefined tagging function)' , function ( ) {
2144
- var el = createUiSelectMultiple ( { tagging : true , taggingTokens : "ENTER|," } ) ;
2145
- clickMatch ( el ) ;
2146
- triggerPaste ( el . find ( 'input' ) , "tag1\ntag2\ntag3" ) ;
2147
-
2148
- expect ( $ ( el ) . scope ( ) . $select . selected . length ) . toBe ( 3 ) ;
2149
- } ) ;
2150
-
2151
- it ( 'should split pastes on TAB' , function ( ) {
2152
- var el = createUiSelectMultiple ( { tagging : true , taggingTokens : "TAB|," } ) ;
2153
- clickMatch ( el ) ;
2154
- triggerPaste ( el . find ( 'input' ) , "tag1\ttag2\ttag3" ) ;
2155
-
2156
- expect ( $ ( el ) . scope ( ) . $select . selected . length ) . toBe ( 3 ) ;
2157
- } ) ;
2158
-
2159
2143
it ( 'should add an id to the search input field' , function ( ) {
2160
2144
var el = createUiSelectMultiple ( { inputId : 'inid' } ) ;
2161
2145
var searchEl = $ ( el ) . find ( 'input.ui-select-search' ) ;
0 commit comments