Fixes Issue #4

This commit is contained in:
Peter Cottle 2013-02-16 14:53:35 -08:00
parent a97e575f63
commit 36d3ea31fc
5 changed files with 7 additions and 6 deletions

View file

@ -6526,13 +6526,14 @@ var init = function() {
}); });
*/ */
/*
eventBaton.stealBaton('windowSizeCheck', function(size) { eventBaton.stealBaton('windowSizeCheck', function(size) {
if (size.w < Constants.VIEWPORT.minWidth || if (size.w < Constants.VIEWPORT.minWidth ||
size.h < Constants.VIEWPORT.minHeight) { size.h < Constants.VIEWPORT.minHeight) {
var Views = require('../views'); var Views = require('../views');
var view = new Views.WindowSizeAlertWindow(); var view = new Views.WindowSizeAlertWindow();
} }
}); });*/
// the default action on window focus and document click is to just focus the text area // the default action on window focus and document click is to just focus the text area
eventBaton.stealBaton('windowFocus', focusTextArea); eventBaton.stealBaton('windowFocus', focusTextArea);
@ -18590,13 +18591,14 @@ var init = function() {
}); });
*/ */
/*
eventBaton.stealBaton('windowSizeCheck', function(size) { eventBaton.stealBaton('windowSizeCheck', function(size) {
if (size.w < Constants.VIEWPORT.minWidth || if (size.w < Constants.VIEWPORT.minWidth ||
size.h < Constants.VIEWPORT.minHeight) { size.h < Constants.VIEWPORT.minHeight) {
var Views = require('../views'); var Views = require('../views');
var view = new Views.WindowSizeAlertWindow(); var view = new Views.WindowSizeAlertWindow();
} }
}); });*/
// the default action on window focus and document click is to just focus the text area // the default action on window focus and document click is to just focus the text area
eventBaton.stealBaton('windowFocus', focusTextArea); eventBaton.stealBaton('windowFocus', focusTextArea);

File diff suppressed because one or more lines are too long

1
build/bundle.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -409,7 +409,7 @@
For a much easier time perusing the source, see the individual files at: For a much easier time perusing the source, see the individual files at:
https://github.com/pcottle/learnGitBranching https://github.com/pcottle/learnGitBranching
--> -->
<script src="build/bundle.min.b8584255.js"></script> <script src="build/bundle.js"></script>
<!-- The advantage of github pages: super-easy, simple, slick static hostic. <!-- The advantage of github pages: super-easy, simple, slick static hostic.
The downside? No raw logs to parse for analytics, so I have to include The downside? No raw logs to parse for analytics, so I have to include

View file

@ -88,13 +88,14 @@ var init = function() {
}); });
*/ */
/*
eventBaton.stealBaton('windowSizeCheck', function(size) { eventBaton.stealBaton('windowSizeCheck', function(size) {
if (size.w < Constants.VIEWPORT.minWidth || if (size.w < Constants.VIEWPORT.minWidth ||
size.h < Constants.VIEWPORT.minHeight) { size.h < Constants.VIEWPORT.minHeight) {
var Views = require('../views'); var Views = require('../views');
var view = new Views.WindowSizeAlertWindow(); var view = new Views.WindowSizeAlertWindow();
} }
}); });*/
// the default action on window focus and document click is to just focus the text area // the default action on window focus and document click is to just focus the text area
eventBaton.stealBaton('windowFocus', focusTextArea); eventBaton.stealBaton('windowFocus', focusTextArea);