diff --git a/src/core/Interactive/buffering.js b/src/core/Interactive/buffering.js index e7b0ba3..9ad658e 100644 --- a/src/core/Interactive/buffering.js +++ b/src/core/Interactive/buffering.js @@ -1,5 +1,5 @@ - var SharedBuffer = (function () { + var SharedBuffer = root.Internals.SharedBuffer = (function () { inherits(SharedBuffer, Enumerable); function SharedBuffer (source) { @@ -71,6 +71,8 @@ this.length = 0; } + root.Internals.RefCountList = RefCountList; + var RefCountListPrototype = RefCountList.prototype; RefCountListPrototype.clear = function () { this.list = {}; @@ -98,7 +100,7 @@ this.readerCount--; }; - var PublishedBuffer = (function () { + var PublishedBuffer = root.Internals.PublishedBuffer = (function () { inherits(PublishedBuffer, Enumerable); function PublishedBuffer(source) { @@ -222,6 +224,8 @@ this.length = 0; } + root.Internals.MaxRefCountList = MaxRefCountList; + var MaxRefCountListPrototype = MaxRefCountList.prototype; MaxRefCountListPrototype.done = noop; MaxRefCountListPrototype.push = function (item) { @@ -237,7 +241,7 @@ return this.list[i]; }; - var MemoizedBuffer = (function () { + var MemoizedBuffer = root.Internals.MemoizedBuffer = (function () { inherits(MemoizedBuffer, Enumerable); function MemoizedBuffer(source, buffer) { diff --git a/src/core/enumerable.js b/src/core/enumerable.js index 2fd38b3..bf349c5 100644 --- a/src/core/enumerable.js +++ b/src/core/enumerable.js @@ -1515,6 +1515,8 @@ this.next = next; } + Ix.Internals.EnumerableSorter = EnumerableSorter; + EnumerableSorter.prototype = { computeKeys: function (elements, count) { this.keys = new Array(count); @@ -1564,7 +1566,7 @@ } }; - var OrderedEnumerable = (function () { + var OrderedEnumerable = Ix.OrderedEnumerable = (function () { inherits(OrderedEnumerable, Enumerable); function OrderedEnumerable (source, keySelector, comparer, descending) { this.source = source; diff --git a/src/core/internal/dictionary.js b/src/core/internal/dictionary.js index cc2dee9..692a500 100644 --- a/src/core/internal/dictionary.js +++ b/src/core/internal/dictionary.js @@ -100,7 +100,7 @@ // Dictionary implementation - var Dictionary = function (capacity, comparer) { + var Dictionary = Ix.Internals.Dictionary = function (capacity, comparer) { if (capacity < 0) { throw new Error('out of range') } diff --git a/src/core/internal/lookup.js b/src/core/internal/lookup.js index ad0bd67..0b5a038 100644 --- a/src/core/internal/lookup.js +++ b/src/core/internal/lookup.js @@ -1,4 +1,4 @@ - var Lookup = (function () { + var Lookup = Ix.Internals.Lookup = (function () { function Lookup(map) { this.map = map;