Skip to content

Commit

Permalink
[presence-store] Introducing the PresenceStore (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
simen authored and bjoerge committed Nov 7, 2017
1 parent 41adefb commit 30b79a1
Show file tree
Hide file tree
Showing 16 changed files with 1,162 additions and 8 deletions.
13 changes: 13 additions & 0 deletions packages/@sanity/document-window/lib/Constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const isNode = require('detect-node');

module.exports = {
FRONT: 'front',
REAR: 'rear',

ASCENDING: 'asc',
DESCENDING: 'desc',

DEFAULT_DEBOUNCE_MS: isNode ? 0 : 100,
DEFAULT_LIMIT: 50,
DEFAULT_BUFFER_FACTOR: 3
};

0 comments on commit 30b79a1

Please sign in to comment.