//>>built
define("dojox/help/console",["dijit","dojo","dojox","dojo/require!dojox/help/_base"],function(m,b,h){b.provide("dojox.help.console");b.require("dojox.help._base");b.mixin(h.help,{_plainText:function(k){return k.replace(/(<[^>]*>|&[^;]{2,6};)/g,"")},_displayLocated:function(k){b.forEach(k,function(c){})},_displayHelp:function(k,c){if(k)for(var e="Help for: "+c.name,a=0;a<e.length;a++);else if(c)for(e in c)if(a=c[e],("returns"!=e||"Function"==c.type||"Constructor"==c.type)&&a&&(!b.isArray(a)||a.length))if(a=
b.isString(a)?h.help._plainText(a):a,"returns"==e){var f=b.map(a.types||[],"return item.title;").join("|");a.summary&&(f&&(f+=": "),f+=h.help._plainText(a.summary))}else if("parameters"==e){f=0;for(var g;g=a[f];f++){b.map(g.types,"return item.title").join("|");var d="";g.optional&&(d+="Optional. ");g.repating&&(d+="Repeating. ");if(d+=h.help._plainText(g.summary)){d="  - "+d;for(var l=0;l<g.name.length;l++)d=" "+d}}}}});h.help.init()});