mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Ember.K was deprecated, so let's remove it.
This commit is contained in:
@@ -45,7 +45,7 @@ function acceptance(name, options) {
|
||||
resetMobile();
|
||||
|
||||
// For now don't do scrolling stuff in Test Mode
|
||||
HeaderComponent.reopen({examineDockHeader: Ember.K});
|
||||
HeaderComponent.reopen({examineDockHeader: function() { }});
|
||||
|
||||
resetExtraClasses();
|
||||
const siteJson = siteFixtures['site.json'].site;
|
||||
|
||||
@@ -108,7 +108,7 @@ QUnit.testStart(function(ctx) {
|
||||
window.sandbox.stub(ScrollingDOMMethods, "unbindOnScroll");
|
||||
|
||||
// Unless we ever need to test this, let's leave it off.
|
||||
$.fn.autocomplete = Ember.K;
|
||||
$.fn.autocomplete = function() { };
|
||||
|
||||
// Don't debounce in test unless we're testing debouncing
|
||||
if (ctx.module.indexOf('debounce') === -1) {
|
||||
|
||||
Reference in New Issue
Block a user