Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add missing READY property.

  • Loading branch information...
commit ccba2a25358846a317335cbedd0dff50801a074c 1 parent 505a2d8
@BonsaiDen BonsaiDen authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/viewporter.js
View
2  src/viewporter.js
@@ -14,6 +14,7 @@ var viewporter;
// constants
ACTIVE: (('ontouchstart' in window) || (/webos/i).test(navigator.userAgent)),
+ READY: false,
// methods
isLandscape: function() {
@@ -116,6 +117,7 @@ var viewporter;
clearInterval(check);
// let everyone know we're finally ready
+ viewporter.READY = true;
that.triggerWindowEvent(!that._firstUpdateExecuted ? 'viewportready' : 'viewportchange');
that._firstUpdateExecuted = true;
}
Please sign in to comment.
Something went wrong with that request. Please try again.