define([ "dojo/_base/array", // array.forEach array.indexOf array.map "dojo/_base/declare", // declare "dojo/_base/fx", // fx.fadeIn fx.fadeOut "dojo/dom", // dom.byId "dojo/dom-class", // domClass.add "dojo/dom-geometry", // domGeometry.position "dojo/dom-style", // domStyle.set, domStyle.get "dojo/_base/lang", // lang.hitch lang.isArrayLike "dojo/mouse", "dojo/on", "dojo/sniff", // has("ie"), has("trident") "./_base/manager", // manager.defaultDuration "./place", "./_Widget", "./_TemplatedMixin", "./BackgroundIframe", "dojo/text!./templates/Tooltip.html", "./main" // sets dijit.showTooltip etc. for back-compat ], function(array, declare, fx, dom, domClass, domGeometry, domStyle, lang, mouse, on, has, manager, place, _Widget, _TemplatedMixin, BackgroundIframe, template, dijit){ // module: // dijit/Tooltip // TODO: Tooltip should really share more positioning code with TooltipDialog, like: // - the orient() method // - the connector positioning code in show() // - the dijitTooltip[Dialog] class // // The problem is that Tooltip's implementation supplies it's own