@@ -54,22 +54,22 @@ var Immutable = require('./Immutable');
54
54
55
55
Sequence . prototype . toVector = function ( ) { "use strict" ;
56
56
// Use Late Binding here to solve the circular dependency.
57
- return require ( './Vector' ) . empty ( ) . merge ( this . values ( ) ) ;
57
+ return require ( './Vector' ) . from ( this ) ;
58
58
} ;
59
59
60
60
Sequence . prototype . toMap = function ( ) { "use strict" ;
61
61
// Use Late Binding here to solve the circular dependency.
62
- return require ( './Map' ) . empty ( ) . merge ( this ) ;
62
+ return require ( './Map' ) . from ( this ) ;
63
63
} ;
64
64
65
65
Sequence . prototype . toOrderedMap = function ( ) { "use strict" ;
66
66
// Use Late Binding here to solve the circular dependency.
67
- return require ( './OrderedMap' ) . empty ( ) . merge ( this ) ;
67
+ return require ( './OrderedMap' ) . from ( this ) ;
68
68
} ;
69
69
70
70
Sequence . prototype . toSet = function ( ) { "use strict" ;
71
71
// Use Late Binding here to solve the circular dependency.
72
- return require ( './Set' ) . empty ( ) . union ( this ) ;
72
+ return require ( './Set' ) . from ( this ) ;
73
73
} ;
74
74
75
75
Sequence . prototype . equals = function ( other ) { "use strict" ;
@@ -464,11 +464,6 @@ for(var Sequence____Key in Sequence){if(Sequence.hasOwnProperty(Sequence____Key)
464
464
return array ;
465
465
} ;
466
466
467
- IndexedSequence . prototype . toVector = function ( ) { "use strict" ;
468
- // Use Late Binding here to solve the circular dependency.
469
- return require ( './Vector' ) . empty ( ) . merge ( this ) ;
470
- } ;
471
-
472
467
IndexedSequence . prototype . fromEntries = function ( ) { "use strict" ;
473
468
var sequence = this ;
474
469
var fromEntriesSequence = sequence . __makeSequence ( ) ;
0 commit comments