Open webark opened 7 years ago
Here is a sample repo.
Here is the basic diff for expediency
diff --git a/app/initializers/test-delay.js b/app/initializers/test-delay.js
new file mode 100644
index 0000000..545928e
--- /dev/null
+++ b/app/initializers/test-delay.js
@@ -0,0 +1,13 @@
+import { begin, end } from "@ember/runloop"
+
+export function initialize() {
+ begin();
+
+ setTimeout(function() {
+ end();
+ });
+}
+
+export default {
+ initialize
+};
diff --git a/ember-cli-build.js b/ember-cli-build.js
index 9a757ff..668f6ab 100644
--- a/ember-cli-build.js
+++ b/ember-cli-build.js
@@ -5,6 +5,9 @@ const EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
let app = new EmberApp(defaults, {
+ vendorFiles: {
+ 'jquery.js': null
+ },
// Add options here
});
diff --git a/package.json b/package.json
index e93e1aa..142190a 100644
--- a/package.json
+++ b/package.json
@@ -32,6 +32,7 @@
"ember-data": "~2.15.0-beta.2",
"ember-export-application-global": "^2.0.0",
"ember-load-initializers": "^1.0.0",
+ "ember-native-dom-event-dispatcher": "^0.6.3",
"ember-resolver": "^4.0.0",
"ember-source": "~2.15.0-beta.2",
"ember-welcome-page": "^3.0.0",
@rwjblue any thoughts?
@rwjblue any ideas why this event_dispatcher
isn't getting loaded in anything after 2.15?
Creating a ticket over here as this is where the adjustment might have to be made, or at least some investigation work would need to be done.
see https://github.com/emberjs/ember.js/issues/15574 for reference.