Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
Adding core modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpodwysocki committed Aug 3, 2015
1 parent 73ae54d commit 020034f
Show file tree
Hide file tree
Showing 42 changed files with 3,697 additions and 55 deletions.
41 changes: 40 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2399,6 +2399,39 @@ module.exports = function (grunt) {
'dist/rx.lite.extras.compat.min.js'
],
dest: 'modules/rx-lite-extras-compat/'
},
'core': {
flatten: true,
filter: 'isFile',
expand: true,
src: [
'dist/rx.core.js',
'dist/rx.core.map',
'dist/rx.core.min.js'
],
dest: 'modules/rx-core/'
},
'core-binding': {
flatten: true,
filter: 'isFile',
expand: true,
src: [
'dist/rx.core.binding.js',
'dist/rx.core.binding.map',
'dist/rx.core.binding.min.js'
],
dest: 'modules/rx-core-binding/'
},
'core-testing': {
flatten: true,
filter: 'isFile',
expand: true,
src: [
'dist/rx.core.testing.js',
'dist/rx.core.testing.map',
'dist/rx.core.testing.min.js'
],
dest: 'modules/rx-core-testing/'
}
}
});
Expand Down Expand Up @@ -2597,7 +2630,10 @@ module.exports = function (grunt) {
'copy:lite',
'copy:lite-compat',
'copy:lite-extras',
'copy:lite-extras-compat'
'copy:lite-extras-compat',
'copy:core',
'copy:core-binding',
'copy:core-testing',
]);

// Default task
Expand Down Expand Up @@ -2690,6 +2726,9 @@ module.exports = function (grunt) {
'copy:lite-compat',
'copy:lite-extras',
'copy:lite-extras-compat',
'copy:core',
'copy:core-binding',
'copy:core-testing',

'qunit'
]);
Expand Down
32 changes: 16 additions & 16 deletions doc/libraries/core/rx.core.binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Files:
- [`rx.core.binding.js`](https://github.com/Reactive-Extensions/RxJS/blob/master/dist/rx.core.binding.js)

NPM Packages:
- _None_
- [`rx-core-binding`](https://www.npmjs.com/package/rx-core-binding)

NuGet Packages:
- _None_
Expand All @@ -22,23 +22,23 @@ NuGet Dependencies:
## Included Observable Operators ##

### `Observable Instance Methods`
- [`connect`](../../api/core/operators/connect.md)
- [`publish`](../../api/core/operators/publish.md)
- [`publishLast`](../../api/core/operators/publishlast.md)
- [`publishValue`](../../api/core/operators/publishvalue.md)
- [`refCount`](../../api/core/operators/refcount.md)
- [`replay`](../../api/core/operators/replay.md)
- [`share`](../../api/core/operators/share.md)
- [`shareLast`](../../api/core/operators/sharelast.md)
- [`shareReplay`](../../api/core/operators/sharereplay.md)
- [`shareValue`](../../api/core/operators/sharevalue.md)
- [`singleInstance`](../../api/core/operators/singleinstance.md)
- [`connect`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/connect.md)
- [`publish`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/publish.md)
- [`publishLast`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/publishlast.md)
- [`publishValue`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/publishvalue.md)
- [`refCount`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/refcount.md)
- [`replay`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/replay.md)
- [`share`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/share.md)
- [`shareLast`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/sharelast.md)
- [`shareReplay`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/sharereplay.md)
- [`shareValue`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/sharevalue.md)
- [`singleInstance`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/singleinstance.md)

## Included Classes ##

### Subjects

- [`Rx.AsyncSubject`](../../api/subjects/asyncsubject.md)
- [`Rx.Subject`](../../api/subjects/subject.md)
- [`Rx.BehaviorSubject`](../../api/core/observable.mdapi/subjects/behaviorsubject.md)
- [`Rx.ReplaySubject`](../../api/core/observable.mdapi/subjects/replaysubject.md)
- [`Rx.AsyncSubject`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/subjects/asyncsubject.md)
- [`Rx.Subject`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/subjects/subject.md)
- [`Rx.BehaviorSubject`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.mdapi/subjects/behaviorsubject.md)
- [`Rx.ReplaySubject`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.mdapi/subjects/replaysubject.md)
18 changes: 9 additions & 9 deletions doc/libraries/core/rx.core.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Files:
- [`rx.core.js`](https://github.com/Reactive-Extensions/RxJS/blob/master/dist/rx.core.js)

NPM Packages:
- _None_
- [`rx-core`](https://www.npmjs.com/package/rx-core)

NuGet Packages:
- _None_
Expand All @@ -17,19 +17,19 @@ NuGet Packages:

### Core Objects

- [`Rx.Observer`](../../api/core/observer.md)
- [`Rx.Observable`](../../api/core/observable.md)
- [`Rx.Observer`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observer.md)
- [`Rx.Observable`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.md)

### `Observable Methods`
- [`create`](../../api/core/operators/create.md)
- [`create`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/create.md)

### Schedulers

- [`Rx.Scheduler`](../../api/schedulers/scheduler.md)
- [`Rx.Scheduler`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/schedulers/scheduler.md)

### Disposables

- [`Rx.CompositeDisposable`](../../api/disposables/compositedisposable.md)
- [`Rx.Disposable`](../../api/disposables/disposable.md)
- [`Rx.SerialDisposable`](../../api/disposables/serialdisposable.md)
- [`Rx.SingleAssignmentDisposable`](../../api/disposables/singleassignmentdisposable.md)
- [`Rx.CompositeDisposable`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/disposables/compositedisposable.md)
- [`Rx.Disposable`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/disposables/disposable.md)
- [`Rx.SerialDisposable`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/disposables/serialdisposable.md)
- [`Rx.SingleAssignmentDisposable`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/disposables/singleassignmentdisposable.md)
14 changes: 7 additions & 7 deletions doc/libraries/core/rx.core.testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Files:
- [`rx.testing.js`](https://github.com/Reactive-Extensions/RxJS/blob/master/dist/rx.core.testing.js)

NPM Packages:
- _None_
- [`rx-core-testing`](https://www.npmjs.com/package/rx-core-testing)

NuGet Packages:
- _None_
Expand All @@ -23,15 +23,15 @@ NuGet Dependencies:

### Core Objects

- [`Rx.Notification`](../../api/core/notification.md)
- [`Rx.Notification`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/notification.md)

### Schedulers

- [`Rx.TestScheduler`](../../api/testing/testscheduler.md)
- [`Rx.VirtualTimeScheduler`](../../api/schedulers/virtualtimescheduler.md)
- [`Rx.TestScheduler`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/testing/testscheduler.md)
- [`Rx.VirtualTimeScheduler`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/schedulers/virtualtimescheduler.md)

### Testing Classes

- [`Rx.ReactiveTest`](../../api/testing/reactivetest.md)
- [`Rx.Recorded`](../../api/testing/recorded.md)
- [`Rx.Subscription`](../../api/testing/subscription.md)
- [`Rx.ReactiveTest`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/testing/reactivetest.md)
- [`Rx.Recorded`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/testing/recorded.md)
- [`Rx.Subscription`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/testing/subscription.md)
11 changes: 11 additions & 0 deletions modules/publish.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var fs = require('fs');
var execSync = require('child_process').execSync,

var files = fs.readdirSync(process.cwd());
for (var i = 0; i < files.length; i++) {
var file = files[i];
var stat = fs.statSync(file);
if (stat.isDirectory()) {
execSync('npm publish ' + file);
}
}
40 changes: 40 additions & 0 deletions modules/rx-core-binding/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "rx-core-binding",
"title": "Reactive Extensions for JavaScript (RxJS) Core",
"description": "Core binding library for composing asynchronous and event-based operations in JavaScript",
"version": "3.0.0",
"homepage": "https://github.com/Reactive-Extensions/RxJS",
"author": {
"name": "Cloud Programmability Team",
"url": "https://github.com/Reactive-Extensions/RxJS/blob/master/authors.txt"
},
"repository": {
"type": "git",
"url": "https://github.com/Reactive-Extensions/RxJS.git"
},
"licenses": [
{
"type": "Apache License, Version 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
}
],
"bugs": "https://github.com/Reactive-Extensions/RxJS/issues",
"jam": {
"main": "rx.core.binding.js"
},
"browser": {
"index.js": "rx.core.binding.js"
},
"dependencies": {
"rx-core": "*"
},
"devDependencies": {},
"keywords": [
"React",
"Reactive",
"Events",
"Rx",
"RxJS"
],
"main": "rx.core.binding.js"
}
44 changes: 44 additions & 0 deletions modules/rx-core-binding/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# RxJS Core Binding Module #

The Reactive Extensions for JavaScript has a notion of hot and cold observables. Hot observables fire whether you are listening to them or not, such as mouse movements. Cold observables on the other hand, such as a sequence created from an array will fire the same sequence to all subscribers. The Core Binding module gives you the ability to replay events for hot observables, and to turn cold observables into hot observables. The primary use case is for those who are implementing libraries compatible with RxJS to be able to handle hot and cold observables.

## Details ##

Files:
- [`rx.core.binding.js`](https://github.com/Reactive-Extensions/RxJS/blob/master/dist/rx.core.binding.js)

NPM Packages:
- [`rx-core-binding`](https://www.npmjs.com/package/rx-core-binding)

NuGet Packages:
- _None_

File Dependencies:
- [`rx.core.js`](https://github.com/Reactive-Extensions/RxJS/blob/master/dist/rx.core.js)

NuGet Dependencies:
- _None_

## Included Observable Operators ##

### `Observable Instance Methods`
- [`connect`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/connect.md)
- [`publish`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/publish.md)
- [`publishLast`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/publishlast.md)
- [`publishValue`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/publishvalue.md)
- [`refCount`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/refcount.md)
- [`replay`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/replay.md)
- [`share`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/share.md)
- [`shareLast`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/sharelast.md)
- [`shareReplay`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/sharereplay.md)
- [`shareValue`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/sharevalue.md)
- [`singleInstance`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/singleinstance.md)

## Included Classes ##

### Subjects

- [`Rx.AsyncSubject`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/subjects/asyncsubject.md)
- [`Rx.Subject`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/subjects/subject.md)
- [`Rx.BehaviorSubject`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.mdapi/subjects/behaviorsubject.md)
- [`Rx.ReplaySubject`](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/observable.mdapi/subjects/replaysubject.md)
Loading

0 comments on commit 020034f

Please sign in to comment.