Reactive-Extensions/RxJS

View on GitHub

Showing 2,890 of 2,890 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports) {
 
'use strict';
 
function IndexedItem(id, value) {
Severity: Major
Found in src/modular/dist/rx.lite.js and 1 other location - About 5 days to fix
src/modular/dist/rx.all.js on lines 1303..1401

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var Disposable = __webpack_require__(13);
Severity: Major
Found in src/modular/dist/rx.all.js and 1 other location - About 5 days to fix
src/modular/dist/rx.lite.js on lines 2972..3090

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var Disposable = __webpack_require__(12);
Severity: Major
Found in src/modular/dist/rx.lite.js and 1 other location - About 5 days to fix
src/modular/dist/rx.all.js on lines 3589..3707

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var ObservableBase = __webpack_require__(11);
Severity: Major
Found in src/modular/dist/rx.all.js and 1 other location - About 5 days to fix
src/modular/dist/rx.lite.js on lines 3860..3954

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var ObservableBase = __webpack_require__(34);
Severity: Major
Found in src/modular/dist/rx.lite.js and 1 other location - About 5 days to fix
src/modular/dist/rx.all.js on lines 8356..8450

Similar blocks of code found in 3 locations. Consider refactoring.
Open

var ControlledSubject = (function (__super__) {
inherits(ControlledSubject, __super__);
function ControlledSubject(enableQueue, scheduler) {
enableQueue == null && (enableQueue = true);
 
 
Severity: Major
Found in src/core/backpressure/controlled.js and 2 other locations - About 5 days to fix
modules/rx-lite-compat/rx.lite.compat.js on lines 6626..6721
modules/rx-lite/rx.lite.js on lines 6277..6372

Similar blocks of code found in 3 locations. Consider refactoring.
Open

var ControlledSubject = (function (__super__) {
inherits(ControlledSubject, __super__);
function ControlledSubject(enableQueue, scheduler) {
enableQueue == null && (enableQueue = true);
 
 
Severity: Major
Found in modules/rx-lite/rx.lite.js and 2 other locations - About 5 days to fix
modules/rx-lite-compat/rx.lite.compat.js on lines 6626..6721
src/core/backpressure/controlled.js on lines 21..116

Similar blocks of code found in 3 locations. Consider refactoring.
Open

var ControlledSubject = (function (__super__) {
inherits(ControlledSubject, __super__);
function ControlledSubject(enableQueue, scheduler) {
enableQueue == null && (enableQueue = true);
 
 
Severity: Major
Found in modules/rx-lite-compat/rx.lite.compat.js and 2 other locations - About 5 days to fix
modules/rx-lite/rx.lite.js on lines 6277..6372
src/core/backpressure/controlled.js on lines 21..116

Similar blocks of code found in 2 locations. Consider refactoring.
Open

(function() {
var o: Rx.Observable<string>;
var n: Rx.Observable<number>;
n = o.flatMapLatest(x => Rx.Observable.from([1, 2, 3]));
n = o.flatMapLatest(x => Rx.Observable.from([1, 2, 3]).toPromise());
Severity: Major
Found in ts/core/linq/observable/flatmaplatest.ts and 1 other location - About 5 days to fix
ts/core/linq/observable/flatmapfirst.ts on lines 81..109

Similar blocks of code found in 2 locations. Consider refactoring.
Open

(function() {
var o: Rx.Observable<string>;
var n: Rx.Observable<number>;
n = o.flatMapFirst(x => Rx.Observable.from([1, 2, 3]));
n = o.flatMapFirst(x => Rx.Observable.from([1, 2, 3]).toPromise());
Severity: Major
Found in ts/core/linq/observable/flatmapfirst.ts and 1 other location - About 5 days to fix
ts/core/linq/observable/flatmaplatest.ts on lines 80..108

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var Observable = __webpack_require__(8);
Severity: Major
Found in src/modular/dist/rx.all.js and 1 other location - About 5 days to fix
src/modular/dist/rx.lite.js on lines 5036..5162

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var Observable = __webpack_require__(8);
Severity: Major
Found in src/modular/dist/rx.lite.js and 1 other location - About 5 days to fix
src/modular/dist/rx.all.js on lines 11368..11494

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var Disposable = __webpack_require__(12);
Severity: Major
Found in src/modular/dist/rx.lite.js and 1 other location - About 5 days to fix
src/modular/dist/rx.all.js on lines 2107..2231

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var Disposable = __webpack_require__(13);
Severity: Major
Found in src/modular/dist/rx.all.js and 1 other location - About 5 days to fix
src/modular/dist/rx.lite.js on lines 608..732

Identical blocks of code found in 2 locations. Consider refactoring.
Open

module.exports = function groupJoin(left, right, leftDurationSelector, rightDurationSelector, resultSelector) {
return new AnonymousObservable(function (o) {
var group = new CompositeDisposable();
var r = new RefCountDisposable(group);
var leftMap = new global.Map(),
Severity: Major
Found in src/modular/dist/rx.all.js and 1 other location - About 4 days to fix
src/modular/observable/groupjoin.js on lines 15..100

Identical blocks of code found in 2 locations. Consider refactoring.
Open

module.exports = function groupJoin(left, right, leftDurationSelector, rightDurationSelector, resultSelector) {
return new AnonymousObservable(function (o) {
var group = new CompositeDisposable();
var r = new RefCountDisposable(group);
var leftMap = new global.Map(), rightMap = new global.Map();
Severity: Major
Found in src/modular/observable/groupjoin.js and 1 other location - About 4 days to fix
src/modular/dist/rx.all.js on lines 7687..7771

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var ObservableBase = __webpack_require__(34);
Severity: Major
Found in src/modular/dist/rx.lite.js and 1 other location - About 4 days to fix
src/modular/dist/rx.all.js on lines 2599..2690

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var ObservableBase = __webpack_require__(11);
Severity: Major
Found in src/modular/dist/rx.all.js and 1 other location - About 4 days to fix
src/modular/dist/rx.lite.js on lines 2053..2144

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var ObservableBase = __webpack_require__(11);
Severity: Major
Found in src/modular/dist/rx.all.js and 1 other location - About 4 days to fix
src/modular/dist/rx.lite.js on lines 4800..4881

Similar blocks of code found in 2 locations. Consider refactoring.
Open

/***/ function(module, exports, __webpack_require__) {
 
'use strict';
 
var ObservableBase = __webpack_require__(34);
Severity: Major
Found in src/modular/dist/rx.lite.js and 1 other location - About 4 days to fix
src/modular/dist/rx.all.js on lines 10013..10094
Severity
Category
Status
Source
Language