stream: speed up instantiation of readable stream

- Stream.apply -> Stream.call
This commit is contained in:
Ryunosuke SATO 2012-12-28 01:30:50 +09:00 коммит произвёл isaacs
Родитель 697484df82
Коммит fde338bf83
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -91,7 +91,7 @@ function Readable(options) {
// legacy
this.readable = true;
Stream.apply(this);
Stream.call(this);
}
// backwards compatibility.