This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var livereload = require('gulp-livereload'); | |
var concat = require('gulp-concat'); | |
var fileSystem = require('fs'); | |
var PATHS = { | |
TS: { | |
src: 'src/bootstrap.ts', | |
src: 'src/**/*.ts' | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as Rx from 'rx'; | |
--- | |
import * as Rx from '@reactivex/rxjs'; | |
--- | |
import * as Rx from '../../vendor/angular2/node_modules/@reactivex/rxjs/dist/cjs/Rx'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createStore } from 'redux' | |
/** | |
* This is a reducer, a pure function with (state, action) => state signature. | |
* It describes how an action transforms the state into the next state. | |
* | |
* The shape of the state is up to you: it can be a primitive, an array, an object, | |
* or even an Immutable.js data structure. The only important part is that you should | |
* not mutate the state object, but return a new object if the state changes. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.config({ | |
baseURL: "/", | |
defaultJSExtensions: false, | |
transpiler: "typescript", | |
typescriptOptions: { | |
"emitDecoratorMetadata": true, | |
"experimentalDecorators": true, | |
"target": "es5", | |
"module": "system", | |
"moduleResolution": "node", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var fs = require('fs'); | |
var path = require('path'); | |
var gulp = require('gulp'); | |
var assign = require('object-assign'); | |
function isString(str) { | |
return 'string' === typeof str; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Component, | |
OnInit, | |
OnDestroy | |
} from 'angular2/core'; | |
import { Observable } from 'rxjs/Observable'; | |
import { Subject } from 'rxjs/Subject'; | |
import { Subscription } from 'rxjs/Subscription'; | |
import { Store } from '@ngrx/store'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
Component, | |
OnInit, | |
OnDestroy | |
} from 'angular2/core'; | |
import { Observable } from 'rxjs/Observable'; | |
import { Store } from '@ngrx/store'; | |
// action creators |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* PLUNKER VERSION (based on systemjs.config.js in angular.io) | |
* System configuration for Angular 2 samples | |
* Adjust as necessary for your application needs. | |
* Override at the last minute with global.filterSystemConfig (as plunkers do) | |
*/ | |
(function(global) { | |
var ngVer = '@2.0.0-rc.0'; // lock in the angular package version; do not let it float to current! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* PLUNKER VERSION (based on systemjs.config.js in angular.io) | |
* System configuration for Angular 2 samples | |
* Adjust as necessary for your application needs. | |
* Override at the last minute with global.filterSystemConfig (as plunkers do) | |
*/ | |
(function(global) { | |
var ngVer = '@2.0.0-rc.0'; // lock in the angular package version; do not let it float to current! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* PLUNKER VERSION (based on systemjs.config.js in angular.io) | |
* System configuration for Angular 2 samples | |
* Adjust as necessary for your application needs. | |
* Override at the last minute with global.filterSystemConfig (as plunkers do) | |
*/ | |
(function(global) { | |
var ngVer = '@2.0.0-rc.0'; // lock in the angular package version; do not let it float to current! |