diff --git a/es5-shim.js b/es5-shim.js index d768f9e0..6508bbf5 100644 --- a/es5-shim.js +++ b/es5-shim.js @@ -29,6 +29,9 @@ // RequireJS if (typeof define == "function") { define(definition); + // YUI3 + } else if (typeof YUI == "function") { + YUI.add("es5", definition); // CommonJS and