mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 00:18:56 +02:00
made big progress
This commit is contained in:
parent
9b77632faf
commit
d7bb4064dc
6 changed files with 3392 additions and 2249 deletions
|
@ -63,7 +63,7 @@ var init = function() {
|
|||
events.trigger('resize', e);
|
||||
});
|
||||
|
||||
$(window).on('windowSizeCheck', _.throttle(function(e) {
|
||||
$(window).on('resize', _.throttle(function(e) {
|
||||
var width = $(window).width();
|
||||
var height = $(window).height();
|
||||
eventBaton.trigger('windowSizeCheck', {w: width, h: height});
|
||||
|
@ -109,6 +109,7 @@ var init = function() {
|
|||
|
||||
$('#commandTextField').on('keydown', makeKeyListener('keydown'));
|
||||
$('#commandTextField').on('keyup', makeKeyListener('keyup'));
|
||||
$(window).trigger('resize');
|
||||
|
||||
/* hacky demo functionality */
|
||||
if (/\?demo/.test(window.location.href)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue