a zip code crypto-currency system good for red ONLY

zone-patch-user-media.js 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * @license
  3. * Copyright Google Inc. All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. (function (global, factory) {
  9. typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
  10. typeof define === 'function' && define.amd ? define(factory) :
  11. (factory());
  12. }(this, (function () { 'use strict';
  13. /**
  14. * @license
  15. * Copyright Google Inc. All Rights Reserved.
  16. *
  17. * Use of this source code is governed by an MIT-style license that can be
  18. * found in the LICENSE file at https://angular.io/license
  19. */
  20. Zone.__load_patch('getUserMedia', function (global, Zone, api) {
  21. function wrapFunctionArgs(func, source) {
  22. return function () {
  23. var args = Array.prototype.slice.call(arguments);
  24. var wrappedArgs = api.bindArguments(args, source ? source : func.name);
  25. return func.apply(this, wrappedArgs);
  26. };
  27. }
  28. var navigator = global['navigator'];
  29. if (navigator && navigator.getUserMedia) {
  30. navigator.getUserMedia = wrapFunctionArgs(navigator.getUserMedia);
  31. }
  32. });
  33. })));