This commit is contained in:
crusader 2018-07-02 16:30:12 +09:00
parent 025ce74596
commit cba080d4f7
5 changed files with 20 additions and 12 deletions

6
package-lock.json generated
View File

@ -417,9 +417,9 @@
} }
}, },
"@loafer/ng-rpc": { "@loafer/ng-rpc": {
"version": "0.0.8", "version": "0.0.10",
"resolved": "https://nexus.loafle.net/repository/npm-all/@loafer/ng-rpc/-/ng-rpc-0.0.8.tgz", "resolved": "https://nexus.loafle.net/repository/npm-all/@loafer/ng-rpc/-/ng-rpc-0.0.10.tgz",
"integrity": "sha512-2+vIthHr1Bh1mBnNm1cYgPC/SOobkby2H046uRJkOVN60oUpPDtYsMCLDLS2c/vOin2VO9oyJfvfRj5kfwd3xg==", "integrity": "sha512-aQt/WSS1AfjRM4ZW2AfLNc2Gh3J2/UfkG4soP7RvEYJf18ds02tUq4svX1gTlCM8Lf751bsE38owS6CndplQDg==",
"requires": { "requires": {
"tslib": "^1.9.0" "tslib": "^1.9.0"
} }

View File

@ -31,7 +31,7 @@
"@loafer/ng-entity": "^0.0.2", "@loafer/ng-entity": "^0.0.2",
"@loafer/ng-logger": "^0.0.1", "@loafer/ng-logger": "^0.0.1",
"@loafer/ng-rest": "^0.0.1", "@loafer/ng-rest": "^0.0.1",
"@loafer/ng-rpc": "^0.0.8", "@loafer/ng-rpc": "^0.0.10",
"@ngrx/core": "^1.2.0", "@ngrx/core": "^1.2.0",
"@ngrx/effects": "^5.2.0", "@ngrx/effects": "^5.2.0",
"@ngrx/router-store": "^5.2.0", "@ngrx/router-store": "^5.2.0",

View File

@ -58,14 +58,14 @@ import 'core-js/es7/reflect';
* user can disable parts of macroTask/DomEvents patch by setting following flags * user can disable parts of macroTask/DomEvents patch by setting following flags
*/ */
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
/* /*
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
* with the following flag, it will bypass `zone.js` patch for IE/Edge * with the following flag, it will bypass `zone.js` patch for IE/Edge
*/ */
// (window as any).__Zone_enable_cross_context_check = true; // (window as any).__Zone_enable_cross_context_check = true;
/*************************************************************************************************** /***************************************************************************************************
@ -78,3 +78,9 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
/*************************************************************************************************** /***************************************************************************************************
* APPLICATION IMPORTS * APPLICATION IMPORTS
*/ */
// "global is not defined
(window as any).global = window;
// "Buffer is not defined
global.Buffer = global.Buffer || require('buffer').Buffer;

View File

@ -4,6 +4,7 @@
"outDir": "../out-tsc/app", "outDir": "../out-tsc/app",
"module": "es2015", "module": "es2015",
"types": [ "types": [
"node",
"reflect-metadata" "reflect-metadata"
] ]
}, },

View File

@ -14,6 +14,7 @@
"node_modules/@types" "node_modules/@types"
], ],
"types": [ "types": [
"node",
"reflect-metadata", "reflect-metadata",
], ],
"lib": [ "lib": [