This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function yui() { | |
var systemInstantiate = System.instantiate, | |
//Store just one Y sandbox | |
YSandbox; | |
//Extracts the dependency list from the YUI module source code (if any exist) | |
function getYUIDeps(src, Y, load) { | |
var stripRequire = /(\"requires\"|\'requires\'|\s*requires\s*)\s*:\s*/g, | |
findRequire = /(\"requires\"|\'requires\'|\s*requires\s*)\s*:\s*\[[\s\S]*?\](\s*,\s*(\"skinnable\"|skinnable|\'skinnable\')\s*:\s*(true|false))*/g, | |
skinnable = /(\"skinnable\"|skinnable|\'skinnable\')\s*:\s*(true|false)/ |