Initial commit.

This commit is contained in:
smartapant 2016-04-20 16:32:12 +03:00
commit 6558ee2fc4
92 changed files with 3193 additions and 0 deletions

View file

@ -0,0 +1,34 @@
// Angular 2 browser
import {
ELEMENT_PROBE_PROVIDERS,
ELEMENT_PROBE_PROVIDERS_PROD_MODE
} from 'angular2/platform/browser';
// Angular 2
import {enableProdMode} from 'angular2/core';
// Environment Providers
let PROVIDERS = [];
if ('production' === ENV) {
// Production
enableProdMode();
PROVIDERS = [
...PROVIDERS,
ELEMENT_PROBE_PROVIDERS_PROD_MODE
];
} else {
// Development
PROVIDERS = [
...PROVIDERS,
ELEMENT_PROBE_PROVIDERS
];
}
export const ENV_PROVIDERS = [
...PROVIDERS
];