fix overlooked window binding in spec files

This commit is contained in:
Mike Greiling 2017-02-10 01:29:41 -06:00
parent b7aaec05be
commit c74b7eb271
24 changed files with 24 additions and 24 deletions

View file

@ -229,4 +229,4 @@ require('./fixtures/emoji_menu');
});
});
});
}).call(this);
}).call(window);

View file

@ -18,4 +18,4 @@ require('~/behaviors/autosize');
return $(document).trigger('load');
};
});
}).call(this);
}).call(window);

View file

@ -103,4 +103,4 @@ require('~/behaviors/quick_submit');
return $.Event('keydown', $.extend({}, defaults, options));
};
});
}).call(this);
}).call(window);

View file

@ -36,4 +36,4 @@ require('~/behaviors/requires_input');
return expect($('.submit')).not.toBeDisabled();
});
});
}).call(this);
}).call(window);

View file

@ -42,4 +42,4 @@ require('~/extensions/array');
});
});
});
}).call(this);
}).call(window);

View file

@ -39,4 +39,4 @@ require('~/extensions/jquery');
});
});
});
}).call(this);
}).call(window);

File diff suppressed because one or more lines are too long

View file

@ -50,4 +50,4 @@ require('~/lib/utils/text_utility');
});
});
});
}).call(this);
}).call(window);

View file

@ -165,4 +165,4 @@ require('~/issue');
expect($('.issue_counter')).toHaveText(1);
});
});
}).call(this);
}).call(window);

View file

@ -227,4 +227,4 @@ require('~/line_highlighter');
});
});
});
}).call(this);
}).call(window);

View file

@ -26,4 +26,4 @@ require('~/merge_request');
});
});
});
}).call(this);
}).call(window);

View file

@ -209,4 +209,4 @@ require('vendor/jquery.scrollTo');
});
});
});
}).call(this);
}).call(window);

View file

@ -189,4 +189,4 @@ require('~/lib/utils/datetime_utility');
});
});
});
}).call(this);
}).call(window);

View file

@ -166,4 +166,4 @@ require('~/new_branch_form');
});
});
});
}).call(this);
}).call(window);

View file

@ -73,4 +73,4 @@ require('~/lib/utils/text_utility');
});
});
});
}).call(this);
}).call(window);

View file

@ -51,4 +51,4 @@ require('~/project');
window.gon = {};
});
});
}).call(this);
}).call(window);

View file

@ -79,4 +79,4 @@ require('~/extensions/jquery.js');
expect(todoToggleSpy.calls.count()).toEqual(1);
});
});
}).call(this);
}).call(window);

View file

@ -175,4 +175,4 @@ require('vendor/fuzzaldrin-plus');
expect(enterKeyEvent.isDefaultPrevented()).toBe(true);
});
});
}).call(this);
}).call(window);

View file

@ -79,4 +79,4 @@ require('~/shortcuts_issuable');
});
});
});
}).call(this);
}).call(window);

View file

@ -41,4 +41,4 @@ require('~/syntax_highlight');
});
});
});
}).call(this);
}).call(window);

View file

@ -69,4 +69,4 @@ require('./mock_u2f_device');
});
});
});
}).call(this);
}).call(window);

View file

@ -30,4 +30,4 @@
return MockU2FDevice;
})();
}).call(this);
}).call(window);

View file

@ -74,4 +74,4 @@ require('./mock_u2f_device');
});
});
});
}).call(this);
}).call(window);

View file

@ -76,4 +76,4 @@ require('~/zen_mode');
keyCode: 27
}));
};
}).call(this);
}).call(window);