Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/core/ToolTip.js
| Show All 15 Lines | statics: { | ||||
| show : function(root, scale, align, content) { | show : function(root, scale, align, content) { | ||||
| var self = JX.Tooltip; | var self = JX.Tooltip; | ||||
| if (self._lock) { | if (self._lock) { | ||||
| return; | return; | ||||
| } | } | ||||
| if (content === null) { | |||||
| return; | |||||
| } | |||||
| if (__DEV__) { | if (__DEV__) { | ||||
| switch (align) { | switch (align) { | ||||
| case 'N': | case 'N': | ||||
| case 'E': | case 'E': | ||||
| case 'S': | case 'S': | ||||
| case 'W': | case 'W': | ||||
| break; | break; | ||||
| default: | default: | ||||
| ▲ Show 20 Lines • Show All 207 Lines • Show Last 20 Lines | |||||