Sha256: a534a21a77dd83a5b71304ed024c00ee4f1a2813294b7448207766fd8902f316
Contents?: true
Size: 1.62 KB
Versions: 4
Compression:
Stored size: 1.62 KB
Contents
var profile = (function(){ var testResourceRe = /\/tests\//, copyOnly = function(filename, mid){ var list = { "dojox/dojox.profile":1, "dojox/package.json":1, "dojox/mobile/themes/common/compile":1 }; return (mid in list) || /^dojox\/resources\//.test(mid) || /(png|jpg|jpeg|gif|tiff)$/.test(filename); }, excludes = [ "secure", "data/(demos|ItemExplorer|StoreExplorer|restListener)", "drawing/plugins/drawing/Silverlight", "editor/plugins/(ResizeTableColumn|SpellCheck)", "embed/(IE)", "flash/_base", "help", "image/(Gallery|SlideShow|ThumbnailPicker)", "jq", "jsonPath/query", "lang/(aspect|async|docs|observable|oo|typed|functional/(binrec|curry|linrec|listcomp|multirec|numrec|tailrec|util|zip))", "layout/(BorderContainer|dnd|ext-dijit)", "mobile/app/", "rails", "robot", "socket/Reconnect", "sql/", "storage/", "widget/(AnalogGauge|BarGauge|DataPresentation|DocTester|DynamicTooltip|FeedPortlet|FilePicker|gauge|Iterator|Loader|RollingList|SortList)", "wire/", "xmpp" ], excludesRe = new RegExp(("^dojox/(" + excludes.join("|") + ")").replace(/\//, "\\/")), usesDojoProvideEtAl = function(mid){ return excludesRe.test(mid); }; return { resourceTags:{ test: function(filename, mid){ return testResourceRe.test(mid); }, copyOnly: function(filename, mid){ return copyOnly(filename, mid); }, amd: function(filename, mid){ return !testResourceRe.test(mid) && !copyOnly(filename, mid) && !usesDojoProvideEtAl(mid) && /\.js$/.test(filename); }, miniExclude: function(filename, mid){ return 0; } } }; })();
Version data entries
4 entries across 4 versions & 1 rubygems