Permalink
Browse files

Merge pull request #121 from ttfkam/YUI

Add YUI 3.x support
  • Loading branch information...
2 parents f9ec439 + 3ad2aaa commit 9f539abd9aa9950e1d907077a4be7f5133a00e52 @kriskowal kriskowal committed Jul 9, 2012
Showing with 21 additions and 16 deletions.
  1. +3 −0 es5-shim.js
  2. +18 −16 es5-shim.min.js
View
@@ -29,6 +29,9 @@
// RequireJS
if (typeof define == "function") {
define(definition);
+ // YUI3
+ } else if (typeof YUI == "function") {
+ YUI.add("es5", definition);
// CommonJS and <script>
} else {
definition();
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 9f539ab

Please sign in to comment.