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