Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tidying a few Reader constants.

AbortMessage now supplanted by monocle:incompatible.
  • Loading branch information...
commit cce430833c36fab933831b7eafb1b646251fe923 1 parent 15823a8
Joseph Pearson joseph authored
Showing with 2 additions and 8 deletions.
  1. +2 −8 src/core/reader.js
10 src/core/reader.js
View
@@ -306,7 +306,7 @@ Monocle.Reader = function (node, bookData, options, onLoadCallback) {
recalculateDimensions(true);
dispatchEvent("monocle:resize");
},
- k.durations.RESIZE_DELAY
+ k.RESIZE_DELAY
);
}
@@ -746,13 +746,7 @@ Monocle.Reader = function (node, bookData, options, onLoadCallback) {
return API;
}
-Monocle.Reader.durations = {
- RESIZE_DELAY: 100
-}
-Monocle.Reader.abortMessage = {
- CLASSNAME: "monocleAbortMessage",
- TEXT: "Your browser does not support this technology."
-}
+Monocle.Reader.RESIZE_DELAY = 100;
Monocle.Reader.DEFAULT_SYSTEM_ID = 'RS:monocle'
Monocle.Reader.DEFAULT_CLASS_PREFIX = 'monelem_'
Monocle.Reader.DEFAULT_STYLE_RULES = [
Please sign in to comment.
Something went wrong with that request. Please try again.