Permalink
Browse files

Fix agentDisconnect event and unload handler.

DOM events cannot be setup without Y.Node.
  • Loading branch information...
1 parent 3ebbc77 commit 02c3d6d7b585e25f78b62187354b97425d5fed4c @reid reid committed Mar 6, 2013
Showing with 4 additions and 1 deletion.
  1. +2 −0 lib/hub/view/public/tempest.js
  2. +2 −1 scripts/fetch_deps.js
@@ -524,6 +524,7 @@ YUI.add("tempest", function (Y, name) {
self.destroy();
}
+ // Requires node-base.
self.errorHandler = Y.on("error", errorHandler, win);
self.unloadHandler = Y.on("unload", unloadHandler, win);
};
@@ -534,6 +535,7 @@ YUI.add("tempest", function (Y, name) {
"oop",
"cookie",
"attribute-events",
+ "node-base",
"tempest-base-core",
"tempest-hubclient",
"tempest-automation-group"
@@ -32,8 +32,9 @@ var MOCHA_CSS_URL = "https://raw.github.com/visionmedia/mocha/1.8.1/mocha.css";
* base-core
* cookie
* event-base
+ * node-base
*/
-var YUI_RUNTIME_URL = "http://yui.yahooapis.com/combo?3.8.1/build/yui-base/yui-base-min.js&3.8.1/build/array-extras/array-extras-min.js&3.8.1/build/oop/oop-min.js&3.8.1/build/event-custom-base/event-custom-base-min.js&3.8.1/build/event-custom-complex/event-custom-complex-min.js&3.8.1/build/attribute-observable/attribute-observable-min.js&3.8.1/build/attribute-core/attribute-core-min.js&3.8.1/build/base-core/base-core-min.js&3.8.1/build/event-base/event-base-min.js&3.8.1/build/cookie/cookie-min.js";
+var YUI_RUNTIME_URL = "http://yui.yahooapis.com/combo?3.8.1/build/yui-base/yui-base-min.js&3.8.1/build/array-extras/array-extras-min.js&3.8.1/build/oop/oop-min.js&3.8.1/build/attribute-core/attribute-core-min.js&3.8.1/build/event-custom-base/event-custom-base-min.js&3.8.1/build/event-custom-complex/event-custom-complex-min.js&3.8.1/build/attribute-observable/attribute-observable-min.js&3.8.1/build/base-core/base-core-min.js&3.8.1/build/cookie/cookie-min.js&3.8.1/build/features/features-min.js&3.8.1/build/dom-core/dom-core-min.js&3.8.1/build/dom-base/dom-base-min.js&3.8.1/build/selector-native/selector-native-min.js&3.8.1/build/selector/selector-min.js&3.8.1/build/node-core/node-core-min.js&3.8.1/build/node-base/node-base-min.js&3.8.1/build/event-base/event-base-min.js";
var DOJO_URL = "http://download.dojotoolkit.org/release-1.8.3/dojo.js";
var DOJO_DOH_RUNNER_URL = "http://download.dojotoolkit.org/release-1.8.3/dojo-release-1.8.3/util/doh/runner.js";

0 comments on commit 02c3d6d

Please sign in to comment.