Skip to content

Commit

Permalink
Implicit classes for webclient build
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scholtes committed Oct 21, 2013
1 parent ee89f68 commit daf1682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/client/connection.js
@@ -1,12 +1,11 @@
var Doc, Query, MicroEvent;
var Doc, Query;
if (typeof require !== 'undefined') {
Doc = require('./doc').Doc;
Query = require('./query').Query;
MicroEvent = require('./microevent');
} else {
Doc = exports.Doc;
Query = exports.Query
MicroEvent = exports.MicroEvent
}


Expand Down
2 changes: 1 addition & 1 deletion lib/client/doc.js
@@ -1,4 +1,4 @@
var types, MicroEvent;
var types;

if (typeof require !== "undefined") {
types = require('ottypes');
Expand Down

0 comments on commit daf1682

Please sign in to comment.