refactor(buffer) DOM.Buffer -> DOMProto.Buffer

This commit is contained in:
coderaiser 2014-10-29 07:10:12 -04:00
parent 9615b6466f
commit 77a18695f1

View file

@ -3,7 +3,9 @@ var Util, DOM;
(function(Util, DOM) {
'use strict';
DOM.Buffer = new BufferProto();
var DOMProto = Object.getPrototypeOf(DOM);
DOMProto.Buffer = new BufferProto();
function BufferProto() {
var Storage = DOM.Storage,