diff --git a/runtime/index.js b/runtime/index.js index fe43e9a48..6c2666876 100644 --- a/runtime/index.js +++ b/runtime/index.js @@ -1,17 +1,18 @@ // This file exports just the bare minimum required to work with statically generated code. // Can be used as a drop-in replacement for the full library as it has the same general structure. +"use strict"; var protobuf = exports; -protobuf.Writer = require("../src/writer"); +protobuf.Writer = require("../src/writer"); protobuf.BufferWriter = require("../src/writer_buffer"); -protobuf.Reader = require("../src/reader"); +protobuf.Reader = require("../src/reader"); protobuf.BufferReader = require("../src/reader_buffer"); -protobuf.util = require("../src/util/runtime"); -protobuf.roots = {}; -protobuf.configure = configure; +protobuf.util = require("../src/util/runtime"); +protobuf.roots = {}; +protobuf.configure = configure; function configure() { - Reader._configure(); + protobuf.Reader._configure(); } // Be nice to AMD