@microsoft/applicationinsights-dependencies-js 3.0.0-beta.2210-15 → 3.0.0-beta.2210-17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.33.1",
4
+ "toolVersion": "7.33.4",
5
5
  "schemaVersion": 1010,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -218,7 +218,7 @@
218
218
  "text": " "
219
219
  }
220
220
  ],
221
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/ajax.d.ts",
221
+ "fileUrlPath": "types/ajax.d.ts",
222
222
  "releaseTag": "Public",
223
223
  "name": "AjaxPlugin",
224
224
  "preserveMemberOrder": false,
@@ -877,7 +877,7 @@
877
877
  "text": "export declare class ajaxRecord "
878
878
  }
879
879
  ],
880
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/ajaxRecord.d.ts",
880
+ "fileUrlPath": "types/ajaxRecord.d.ts",
881
881
  "releaseTag": "Public",
882
882
  "name": "ajaxRecord",
883
883
  "preserveMemberOrder": false,
@@ -2014,7 +2014,7 @@
2014
2014
  "text": ";"
2015
2015
  }
2016
2016
  ],
2017
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/DependencyInitializer.d.ts",
2017
+ "fileUrlPath": "types/DependencyInitializer.d.ts",
2018
2018
  "releaseTag": "Public",
2019
2019
  "name": "DependencyInitializerFunction",
2020
2020
  "typeTokenRange": {
@@ -2049,7 +2049,7 @@
2049
2049
  "text": ";"
2050
2050
  }
2051
2051
  ],
2052
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/DependencyListener.d.ts",
2052
+ "fileUrlPath": "types/DependencyListener.d.ts",
2053
2053
  "releaseTag": "Public",
2054
2054
  "name": "DependencyListenerFunction",
2055
2055
  "typeTokenRange": {
@@ -2071,7 +2071,7 @@
2071
2071
  "text": "string[]"
2072
2072
  }
2073
2073
  ],
2074
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/ajax.d.ts",
2074
+ "fileUrlPath": "types/ajax.d.ts",
2075
2075
  "isReadonly": true,
2076
2076
  "releaseTag": "Public",
2077
2077
  "name": "DfltAjaxCorrelationHeaderExDomains",
@@ -2099,7 +2099,7 @@
2099
2099
  "text": " "
2100
2100
  }
2101
2101
  ],
2102
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/ajax.d.ts",
2102
+ "fileUrlPath": "types/ajax.d.ts",
2103
2103
  "releaseTag": "Public",
2104
2104
  "name": "IDependenciesPlugin",
2105
2105
  "preserveMemberOrder": false,
@@ -2168,7 +2168,7 @@
2168
2168
  "text": "export interface IDependencyHandler "
2169
2169
  }
2170
2170
  ],
2171
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/DependencyListener.d.ts",
2171
+ "fileUrlPath": "types/DependencyListener.d.ts",
2172
2172
  "releaseTag": "Public",
2173
2173
  "name": "IDependencyHandler",
2174
2174
  "preserveMemberOrder": false,
@@ -2214,7 +2214,7 @@
2214
2214
  "text": "export interface IDependencyInitializerDetails "
2215
2215
  }
2216
2216
  ],
2217
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/DependencyInitializer.d.ts",
2217
+ "fileUrlPath": "types/DependencyInitializer.d.ts",
2218
2218
  "releaseTag": "Public",
2219
2219
  "name": "IDependencyInitializerDetails",
2220
2220
  "preserveMemberOrder": false,
@@ -2350,7 +2350,7 @@
2350
2350
  "text": " "
2351
2351
  }
2352
2352
  ],
2353
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/DependencyInitializer.d.ts",
2353
+ "fileUrlPath": "types/DependencyInitializer.d.ts",
2354
2354
  "releaseTag": "Public",
2355
2355
  "name": "IDependencyInitializerHandler",
2356
2356
  "preserveMemberOrder": false,
@@ -2372,7 +2372,7 @@
2372
2372
  "text": "export interface IDependencyListenerDetails "
2373
2373
  }
2374
2374
  ],
2375
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/DependencyListener.d.ts",
2375
+ "fileUrlPath": "types/DependencyListener.d.ts",
2376
2376
  "releaseTag": "Public",
2377
2377
  "name": "IDependencyListenerDetails",
2378
2378
  "preserveMemberOrder": false,
@@ -2623,7 +2623,7 @@
2623
2623
  "text": " "
2624
2624
  }
2625
2625
  ],
2626
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/DependencyListener.d.ts",
2626
+ "fileUrlPath": "types/DependencyListener.d.ts",
2627
2627
  "releaseTag": "Public",
2628
2628
  "name": "IDependencyListenerHandler",
2629
2629
  "preserveMemberOrder": false,
@@ -2654,7 +2654,7 @@
2654
2654
  "text": " "
2655
2655
  }
2656
2656
  ],
2657
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/ajax.d.ts",
2657
+ "fileUrlPath": "types/ajax.d.ts",
2658
2658
  "releaseTag": "Public",
2659
2659
  "name": "IInstrumentationRequirements",
2660
2660
  "preserveMemberOrder": false,
@@ -2749,7 +2749,7 @@
2749
2749
  "text": " "
2750
2750
  }
2751
2751
  ],
2752
- "fileUrlPath": "../D:/a/1/s/extensions/applicationinsights-dependencies-js/types/ajax.d.ts",
2752
+ "fileUrlPath": "types/ajax.d.ts",
2753
2753
  "releaseTag": "Public",
2754
2754
  "name": "XMLHttpRequestInstrumented",
2755
2755
  "preserveMemberOrder": false,
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 3.0.0-beta.2210-15
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.0.0-beta.2210-17
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.0.0-beta.2210-15
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.0.0-beta.2210-17
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  (function (global, factory) {
@@ -391,7 +391,7 @@
391
391
  var MathCls = Math;
392
392
  var ArrCls = Array;
393
393
 
394
- function _safeCheck(cb, defValue) {
394
+ function _safeGet(cb, defValue) {
395
395
  var result = defValue;
396
396
  try {
397
397
  result = cb();
@@ -435,52 +435,6 @@
435
435
  var isNumber = _createIs(NUMBER);
436
436
  var isError = _createObjIs("[object Error]");
437
437
 
438
- var DOCUMENT = "document";
439
- var NAVIGATOR = "navigator";
440
- var WINDOW = "window";
441
- var _cachedGlobal = null;
442
- var _hasWindow = _safeCheck(function () { return isDefined(window); }, false);
443
- var _hasDocument = _safeCheck(function () { return isDefined(document); }, false);
444
- var _hasNavigator = _safeCheck(function () { return isDefined(navigator); }, false);
445
- _safeCheck(function () { return isDefined(history); }, false);
446
- _safeCheck(function () { return !!(self && self instanceof WorkerGlobalScope); }, false);
447
- _safeCheck(function () { return !!(process && (process.versions || {}).node); }, false);
448
- function getGlobal(useCached) {
449
- var result = useCached === false ? null : _cachedGlobal;
450
- if (!result) {
451
- if (!result && typeof globalThis !== UNDEFINED) {
452
- result = globalThis;
453
- }
454
- if (!result && typeof self !== UNDEFINED) {
455
- result = self;
456
- }
457
- if (!result && typeof window !== UNDEFINED) {
458
- result = window;
459
- }
460
- if (!result && typeof global !== UNDEFINED) {
461
- result = global;
462
- }
463
- _cachedGlobal = result;
464
- }
465
- return result;
466
- }
467
- function getInst(name, useCached) {
468
- var gbl = getGlobal(useCached);
469
- if (gbl && gbl[name]) {
470
- return gbl[name];
471
- }
472
- if (name === WINDOW && _hasWindow) {
473
- return window;
474
- }
475
- return null;
476
- }
477
- function getDocument() {
478
- return _hasDocument ? document : getInst(DOCUMENT);
479
- }
480
- function getNavigator() {
481
- return _hasNavigator ? navigator : getInst(NAVIGATOR);
482
- }
483
-
484
438
  var objGetOwnPropertyDescriptor = ObjClass.getOwnPropertyDescriptor;
485
439
 
486
440
  function objHasOwnProperty(obj, prop) {
@@ -548,18 +502,45 @@
548
502
  return createSimpleMap(values);
549
503
  }
550
504
 
551
- var POLY_GLOBAL_REGISTORT = "__polySymbols$ts_utils";
505
+ var asString = StrCls;
506
+
507
+ var GLOBAL_CONFIG_KEY = "__tsUtils$gblCfg";
508
+ var _globalCfg;
509
+ function _getGlobalValue() {
510
+ var result;
511
+ if (typeof globalThis !== UNDEFINED) {
512
+ result = globalThis;
513
+ }
514
+ if (!result && typeof self !== UNDEFINED) {
515
+ result = self;
516
+ }
517
+ if (!result && typeof window !== UNDEFINED) {
518
+ result = window;
519
+ }
520
+ if (!result && typeof global !== UNDEFINED) {
521
+ result = global;
522
+ }
523
+ return result;
524
+ }
525
+ function _getGlobalConfig() {
526
+ if (!_globalCfg) {
527
+ var gbl = _getGlobalValue() || {};
528
+ _globalCfg = gbl[GLOBAL_CONFIG_KEY] = gbl[GLOBAL_CONFIG_KEY] || {};
529
+ }
530
+ return _globalCfg;
531
+ }
532
+
552
533
  var _polySymbols;
553
534
  function _globalSymbolRegistry() {
554
535
  if (!_polySymbols) {
555
- var gbl = getGlobal();
556
- _polySymbols = gbl[POLY_GLOBAL_REGISTORT] = gbl[POLY_GLOBAL_REGISTORT] || { k: {}, s: {} };
536
+ var gblCfg = _getGlobalConfig();
537
+ _polySymbols = gblCfg.gblSym = gblCfg.gblSym || { k: {}, s: {} };
557
538
  }
558
539
  return _polySymbols;
559
540
  }
560
541
  function polyNewSymbol(description) {
561
542
  var theSymbol = {
562
- description: "" + description,
543
+ description: asString(description),
563
544
  toString: function () { return SYMBOL + "(" + description + ")"; }
564
545
  };
565
546
  theSymbol[POLYFILL_TAG] = true;
@@ -570,98 +551,11 @@
570
551
  if (!objHasOwn(registry, key)) {
571
552
  var newSymbol = polyNewSymbol(key);
572
553
  registry.k[key] = newSymbol;
573
- registry.s[newSymbol] = "" + key;
554
+ registry.s[newSymbol] = asString(key);
574
555
  }
575
556
  return registry.k[key];
576
557
  }
577
558
 
578
- var _hasSymbol = _safeCheck(function () { return isDefined(Symbol); }, false);
579
- var _symbol = getInst(SYMBOL);
580
- var _symbolFor = _symbol && _safeCheck(function () { return _symbol["for"]; }, null);
581
- _symbol && _safeCheck(function () { return _symbol["keyFor"]; }, null);
582
- function newSymbol(description, noPoly) {
583
- return _hasSymbol ? Symbol(description) : (!noPoly ? polyNewSymbol(description) : null);
584
- }
585
- var symbolFor = _symbolFor || polySymbolFor;
586
-
587
- function isIterator(value) {
588
- return !!value && isFunction(value.next);
589
- }
590
-
591
- function arrAppend(target, elms) {
592
- if (!isUndefined(elms) && target) {
593
- if (isArray(elms)) {
594
- target.push.apply(target, elms);
595
- }
596
- else if (isIterator(elms)) {
597
- var value = elms.next();
598
- while (!value[DONE]) {
599
- target.push(value[VALUE]);
600
- value = elms.next();
601
- }
602
- }
603
- else {
604
- target.push(elms);
605
- }
606
- }
607
- return target;
608
- }
609
-
610
- function arrForEach(arr, callbackfn, thisArg) {
611
- if (arr) {
612
- var len = arr[LENGTH];
613
- for (var idx = 0; idx < len; idx++) {
614
- if (idx in arr) {
615
- if (callbackfn.call(thisArg || arr, arr[idx], idx, arr) === -1) {
616
- break;
617
- }
618
- }
619
- }
620
- }
621
- }
622
-
623
- function dumpObj(object, format) {
624
- var objectTypeDump = objToString(object);
625
- var propertyValueDump = "";
626
- if (objectTypeDump === "[object Error]") {
627
- propertyValueDump = "{ stack: '" + object.stack + "', message: '" + object.message + "', name: '" + object.name + "'";
628
- }
629
- else {
630
- try {
631
- if (format) {
632
- if (isNumber(format)) {
633
- propertyValueDump = JSON.stringify(object, null, format);
634
- }
635
- else {
636
- propertyValueDump = JSON.stringify(object, null, 4);
637
- }
638
- }
639
- else {
640
- propertyValueDump = JSON.stringify(object);
641
- }
642
- }
643
- catch (e) {
644
- propertyValueDump = objToString(object) + " - " + dumpObj(e, format);
645
- }
646
- }
647
- return objectTypeDump + ": " + propertyValueDump;
648
- }
649
-
650
- function _unwrapFunction(funcName) {
651
- return function (thisArg) {
652
- var args = [];
653
- for (var _i = 1; _i < arguments.length; _i++) {
654
- args[_i - 1] = arguments[_i];
655
- }
656
- if ((thisArg || thisArg === EMPTY) && thisArg[funcName]) {
657
- return thisArg[funcName].apply(thisArg, args);
658
- }
659
- throwTypeError("'" + funcName + "' not defined for " + dumpObj(thisArg));
660
- };
661
- }
662
-
663
- var arrIndexOf = _unwrapFunction(INDEX_OF);
664
-
665
559
  function objSetPrototypeOf(obj, proto) {
666
560
  var fn = ObjClass["setPrototypeOf"] ||
667
561
  ({ __proto__: [] } instanceof Array && function (d, b) {
@@ -703,6 +597,33 @@
703
597
  throw new _unsupportedError(message);
704
598
  }
705
599
 
600
+ function dumpObj(object, format) {
601
+ var objectTypeDump = objToString(object);
602
+ var propertyValueDump = "";
603
+ if (objectTypeDump === "[object Error]") {
604
+ propertyValueDump = "{ stack: '" + object.stack + "', message: '" + object.message + "', name: '" + object.name + "'";
605
+ }
606
+ else {
607
+ try {
608
+ if (format) {
609
+ if (isNumber(format)) {
610
+ propertyValueDump = JSON.stringify(object, null, format);
611
+ }
612
+ else {
613
+ propertyValueDump = JSON.stringify(object, null, 4);
614
+ }
615
+ }
616
+ else {
617
+ propertyValueDump = JSON.stringify(object);
618
+ }
619
+ }
620
+ catch (e) {
621
+ propertyValueDump = objToString(object) + " - " + dumpObj(e, format);
622
+ }
623
+ }
624
+ return objectTypeDump + ": " + propertyValueDump;
625
+ }
626
+
706
627
  var _objDefineProperty$1 = ObjClass["defineProperty"];
707
628
  function objDefineProp(target, key, descriptor) {
708
629
  if (_objDefineProperty$1) {
@@ -711,6 +632,19 @@
711
632
  }
712
633
  throwUnsupported("Unable to define property [" + objToString(key) + "] on " + dumpObj(target));
713
634
  }
635
+ function objDefineGet(target, key, value, configurable) {
636
+ var desc = {
637
+ enumerable: true,
638
+ configurable: isUndefined(configurable) ? true : configurable
639
+ };
640
+ if (isFunction(value)) {
641
+ desc.get = value;
642
+ }
643
+ else {
644
+ desc[VALUE] = value;
645
+ }
646
+ return objDefineProp(target, key, desc);
647
+ }
714
648
  function objDefineAccessors(target, prop, getProp, setProp, configurable) {
715
649
  if (_objDefineProperty$1) {
716
650
  try {
@@ -732,6 +666,140 @@
732
666
  }
733
667
  }
734
668
 
669
+ var _globalLazyTestHooks;
670
+ var _fetchLazyTestHooks = function () {
671
+ _globalLazyTestHooks = _getGlobalConfig();
672
+ _fetchLazyTestHooks = null;
673
+ };
674
+ function getLazy(cb) {
675
+ var lazyValue = {};
676
+ _fetchLazyTestHooks && _fetchLazyTestHooks();
677
+ lazyValue.b = _globalLazyTestHooks.lzy;
678
+ objDefineGet(lazyValue, "v", function () {
679
+ var result = cb();
680
+ if (!_globalLazyTestHooks.lzy) {
681
+ objDefineProp(lazyValue, "v", {
682
+ enumerable: true,
683
+ configurable: true,
684
+ writable: false,
685
+ value: result
686
+ });
687
+ if (lazyValue.b) {
688
+ delete lazyValue.b;
689
+ }
690
+ }
691
+ if (_globalLazyTestHooks.lzy && lazyValue.b !== _globalLazyTestHooks.lzy) {
692
+ lazyValue.b = _globalLazyTestHooks.lzy;
693
+ }
694
+ return result;
695
+ }, true);
696
+ return lazyValue;
697
+ }
698
+
699
+ function _lazySafeGet(cb, defValue) {
700
+ return getLazy(function () { return _safeGet(cb, defValue); });
701
+ }
702
+
703
+ var DOCUMENT = "document";
704
+ var NAVIGATOR = "navigator";
705
+ var WINDOW = "window";
706
+ var _cachedGlobal;
707
+ var _cachedWindow;
708
+ var _cachedDocument;
709
+ var _cachedNavigator;
710
+ function getGlobal(useCached) {
711
+ (!_cachedGlobal || useCached === false || (_globalLazyTestHooks.lzy && !_cachedGlobal.b)) && (_cachedGlobal = _lazySafeGet(_getGlobalValue, null));
712
+ return _cachedGlobal.v;
713
+ }
714
+ function getInst(name, useCached) {
715
+ var gbl = getGlobal(useCached);
716
+ if (gbl && gbl[name]) {
717
+ return gbl[name];
718
+ }
719
+ if (name === WINDOW && _cachedWindow) {
720
+ return _cachedWindow.v;
721
+ }
722
+ return null;
723
+ }
724
+ function getDocument() {
725
+ (!_cachedDocument || (_globalLazyTestHooks.lzy && !_cachedDocument.b)) && (_cachedDocument = _lazySafeGet(function () { return getInst(DOCUMENT); }, UNDEF_VALUE));
726
+ return _cachedDocument.v;
727
+ }
728
+ function getNavigator() {
729
+ (!_cachedNavigator || (_globalLazyTestHooks.lzy && !_cachedNavigator.b)) && (_cachedNavigator = _lazySafeGet(function () { return getInst(NAVIGATOR); }, UNDEF_VALUE));
730
+ return _cachedNavigator.v;
731
+ }
732
+
733
+ var _symbol;
734
+ var _symbolFor;
735
+ var _symbolKeyFor;
736
+ function getSymbol() {
737
+ var resetCache = !_symbol || (_globalLazyTestHooks && _globalLazyTestHooks.lzy && !_symbol.b);
738
+ resetCache && (_symbol = _lazySafeGet(function () { return isDefined(Symbol) ? getInst(SYMBOL) : UNDEF_VALUE; }, UNDEF_VALUE));
739
+ (!_symbolFor || resetCache) && (_symbolFor = _lazySafeGet(function () { return _symbol.v ? _symbol["for"] : UNDEF_VALUE; }, UNDEF_VALUE));
740
+ (!_symbolKeyFor || resetCache) && (_symbolKeyFor = _lazySafeGet(function () { return _symbol.v ? _symbol["keyFor"] : UNDEF_VALUE; }, UNDEF_VALUE));
741
+ return _symbol.v;
742
+ }
743
+ function newSymbol(description, noPoly) {
744
+ (!_symbol || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
745
+ return _symbol.v ? _symbol.v(description) : (!noPoly ? polyNewSymbol(description) : null);
746
+ }
747
+ function symbolFor(key) {
748
+ (!_symbolFor || (_globalLazyTestHooks.lzy && !_symbol.b)) && getSymbol();
749
+ return (_symbolFor.v || polySymbolFor)(key);
750
+ }
751
+
752
+ function isIterator(value) {
753
+ return !!value && isFunction(value.next);
754
+ }
755
+
756
+ function arrAppend(target, elms) {
757
+ if (!isUndefined(elms) && target) {
758
+ if (isArray(elms)) {
759
+ target.push.apply(target, elms);
760
+ }
761
+ else if (isIterator(elms)) {
762
+ var value = elms.next();
763
+ while (!value[DONE]) {
764
+ target.push(value[VALUE]);
765
+ value = elms.next();
766
+ }
767
+ }
768
+ else {
769
+ target.push(elms);
770
+ }
771
+ }
772
+ return target;
773
+ }
774
+
775
+ function arrForEach(arr, callbackfn, thisArg) {
776
+ if (arr) {
777
+ var len = arr[LENGTH];
778
+ for (var idx = 0; idx < len; idx++) {
779
+ if (idx in arr) {
780
+ if (callbackfn.call(thisArg || arr, arr[idx], idx, arr) === -1) {
781
+ break;
782
+ }
783
+ }
784
+ }
785
+ }
786
+ }
787
+
788
+ function _unwrapFunction(funcName) {
789
+ return function (thisArg) {
790
+ var args = [];
791
+ for (var _i = 1; _i < arguments.length; _i++) {
792
+ args[_i - 1] = arguments[_i];
793
+ }
794
+ if ((thisArg || thisArg === EMPTY) && thisArg[funcName]) {
795
+ return thisArg[funcName].apply(thisArg, args);
796
+ }
797
+ throwTypeError("'" + funcName + "' not defined for " + dumpObj(thisArg));
798
+ };
799
+ }
800
+
801
+ var arrIndexOf = _unwrapFunction(INDEX_OF);
802
+
735
803
  var mathMax = MathCls.max;
736
804
 
737
805
  var strSlice = _unwrapFunction("slice");
@@ -757,8 +825,6 @@
757
825
 
758
826
  var strIndexOf = _unwrapFunction(INDEX_OF);
759
827
 
760
- var asString = StrCls;
761
-
762
828
  function _createTrimFn(exp) {
763
829
  return function _doTrim(value) {
764
830
  if (isNullOrUndefined(value)) {
@@ -783,21 +849,22 @@
783
849
  return theArgs;
784
850
  }
785
851
 
786
- function _scheduleTimeoutWith(self, overrideFn, theArgs) {
787
- var timeoutId = overrideFn.apply(self, theArgs);
852
+ function _scheduleTimeoutWith(self, setTimeoutFn, clearTimeoutFn, theArgs) {
853
+ var timeoutId = setTimeoutFn.apply(self, theArgs);
788
854
  return {
789
855
  cancel: function () {
790
- clearTimeout(timeoutId);
856
+ timeoutId && clearTimeoutFn.call(self, timeoutId);
857
+ timeoutId = null;
791
858
  },
792
859
  refresh: function () {
793
- clearTimeout(timeoutId);
794
- timeoutId = overrideFn.apply(self, theArgs);
860
+ timeoutId && clearTimeoutFn.call(self, timeoutId);
861
+ timeoutId = setTimeoutFn.apply(self, theArgs);
795
862
  return this;
796
863
  }
797
864
  };
798
865
  }
799
866
  function scheduleTimeout(callback, timeout) {
800
- return _scheduleTimeoutWith(this, setTimeout, _extractArgs(arguments, 0));
867
+ return _scheduleTimeoutWith(this, setTimeout, clearTimeout, _extractArgs(arguments, 0));
801
868
  }
802
869
 
803
870
  var createValueMap = createTypeMap;
@@ -1139,7 +1206,7 @@
1139
1206
  }
1140
1207
 
1141
1208
  var _objDefineProperty = ObjDefineProperty;
1142
- var version = "3.0.0-beta.2210-15";
1209
+ var version = "3.0.0-beta.2210-17";
1143
1210
  var instanceName = "." + newId(6);
1144
1211
  var _dataUid = 0;
1145
1212
  function _createAccessor(target, prop, value) {