a zip code crypto-currency system good for red ONLY

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. var __extends = (this && this.__extends) || (function () {
  2. var extendStatics = Object.setPrototypeOf ||
  3. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  4. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  5. return function (d, b) {
  6. extendStatics(d, b);
  7. function __() { this.constructor = d; }
  8. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  9. };
  10. })();
  11. (function (factory) {
  12. if (typeof module === "object" && typeof module.exports === "object") {
  13. var v = factory(require, exports);
  14. if (v !== undefined) module.exports = v;
  15. }
  16. else if (typeof define === "function" && define.amd) {
  17. define(["require", "exports", "@angular/core"], factory);
  18. }
  19. })(function (require, exports) {
  20. "use strict";
  21. Object.defineProperty(exports, "__esModule", { value: true });
  22. var core_1 = require("@angular/core");
  23. /**
  24. * @name IonicErrorHandler
  25. * @description
  26. * The `IonicErrorHandler` intercepts the default `Console` error handling
  27. * and displays runtime errors as an overlay when using Ionic's Dev Build Server.
  28. *
  29. *
  30. * ### IonicErrorHandler Example
  31. *
  32. * ```typescript
  33. * import { ErrorHandler, NgModule } from '@angular/core';
  34. * import { IonicErrorHandler } from 'ionic-angular';
  35. *
  36. * @NgModule({
  37. * providers: [{ provide: ErrorHandler, useClass: IonicErrorHandler }]
  38. * })
  39. * class AppModule { }
  40. * ```
  41. *
  42. *
  43. * ### Custom Error Handlers
  44. *
  45. * Custom error handlers can be built to replace the default, or extend Ionic's
  46. * error handler.
  47. *
  48. * ```typescript
  49. * class MyErrorHandler implements ErrorHandler {
  50. * handleError(err: any): void {
  51. * // do something with the error
  52. * }
  53. * }
  54. *
  55. * @NgModule({
  56. * providers: [{ provide: ErrorHandler, useClass: MyErrorHandler }]
  57. * })
  58. * class AppModule { }
  59. * ```
  60. *
  61. * More information about Angular's [`ErrorHandler`](https://angular.io/docs/ts/latest/api/core/index/ErrorHandler-class.html).
  62. */
  63. var IonicErrorHandler = (function (_super) {
  64. __extends(IonicErrorHandler, _super);
  65. function IonicErrorHandler() {
  66. return _super.call(this) || this;
  67. }
  68. /**
  69. * @internal
  70. */
  71. IonicErrorHandler.prototype.handleError = function (err) {
  72. _super.prototype.handleError.call(this, err);
  73. try {
  74. var win = window;
  75. var monitor = void 0;
  76. monitor = win['IonicDevServer'];
  77. monitor && monitor.handleError && monitor.handleError(err);
  78. monitor = (win['Ionic'] = win['Ionic'] || {}).Monitor;
  79. monitor && monitor.handleError && monitor.handleError(err);
  80. }
  81. catch (e) { }
  82. };
  83. return IonicErrorHandler;
  84. }(core_1.ErrorHandler));
  85. exports.IonicErrorHandler = IonicErrorHandler;
  86. });
  87. //# sourceMappingURL=ionic-error-handler.js.map