* Quite a few Ember-CLI / Upgrade related changes They should all be backwards compatible. This is all to help merge our branches. * REFACTOR: DRY up username validation Also avoids overwriting computed properties for compatibility with newer Ember releases.
15 lines
318 B
JavaScript
15 lines
318 B
JavaScript
import autocomplete from "discourse/lib/autocomplete";
|
|
import bootbox from "bootbox";
|
|
|
|
export default {
|
|
name: "jquery-plugins",
|
|
initialize() {
|
|
// Settings for bootbox
|
|
bootbox.animate(false);
|
|
bootbox.backdrop(true);
|
|
|
|
// Initialize the autocomplete tool
|
|
$.fn.autocomplete = autocomplete;
|
|
},
|
|
};
|