Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Augmentation Support Improvements #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/core/Interactive/buffering.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

var SharedBuffer = (function () {
var SharedBuffer = root.Internals.SharedBuffer = (function () {
inherits(SharedBuffer, Enumerable);

function SharedBuffer (source) {
Expand Down Expand Up @@ -71,6 +71,8 @@
this.length = 0;
}

root.Internals.RefCountList = RefCountList;

var RefCountListPrototype = RefCountList.prototype;
RefCountListPrototype.clear = function () {
this.list = {};
Expand Down Expand Up @@ -98,7 +100,7 @@
this.readerCount--;
};

var PublishedBuffer = (function () {
var PublishedBuffer = root.Internals.PublishedBuffer = (function () {
inherits(PublishedBuffer, Enumerable);

function PublishedBuffer(source) {
Expand Down Expand Up @@ -222,6 +224,8 @@
this.length = 0;
}

root.Internals.MaxRefCountList = MaxRefCountList;

var MaxRefCountListPrototype = MaxRefCountList.prototype;
MaxRefCountListPrototype.done = noop;
MaxRefCountListPrototype.push = function (item) {
Expand All @@ -237,7 +241,7 @@
return this.list[i];
};

var MemoizedBuffer = (function () {
var MemoizedBuffer = root.Internals.MemoizedBuffer = (function () {
inherits(MemoizedBuffer, Enumerable);

function MemoizedBuffer(source, buffer) {
Expand Down
4 changes: 3 additions & 1 deletion src/core/enumerable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1515,6 +1515,8 @@
this.next = next;
}

Ix.Internals.EnumerableSorter = EnumerableSorter;

EnumerableSorter.prototype = {
computeKeys: function (elements, count) {
this.keys = new Array(count);
Expand Down Expand Up @@ -1564,7 +1566,7 @@
}
};

var OrderedEnumerable = (function () {
var OrderedEnumerable = Ix.OrderedEnumerable = (function () {
inherits(OrderedEnumerable, Enumerable);
function OrderedEnumerable (source, keySelector, comparer, descending) {
this.source = source;
Expand Down
2 changes: 1 addition & 1 deletion src/core/internal/dictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/internal/lookup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var Lookup = (function () {
var Lookup = Ix.Internals.Lookup = (function () {

function Lookup(map) {
this.map = map;
Expand Down