code: function autoForJquery (ref) {
    var t$ = ref
  
    try {
      if (window) {
        console.assert(Tool.isBrowser(), 'Please check current window object is a browser root Window instance !!')
        console.assert(Tool.isWindow(window), 'Please check the current code, window variables are overwritten !!')
  
        if (window.jQuery && window.$) {
          window.$['tmpl'] = t$.tmpl
          window.$['flush_cache'] = t$['flush_cache']
          window.$['setp'] = t$.setp
          window.$['getp'] = t$.getp
  
          window.$['commitMessage'] = t$.commitMessage
          window.$['reportInfo'] = t$.reportInfo
          window.$['reportErrorInfo'] = t$.reportErrorInfo
          window.$['feedbackInfo'] = t$.feedbackInfo
          window.$['feedbackInfoEx'] = t$.feedbackInfoEx
  
          window.$ = window.$.extend(window.$, t$)
        } else {
          console.warn('Can not found jQuery ... [communication.js]')
        }
      }
    } catch (error) {
      // console.warn(error)
    }
  }
docs: 检测全局变量JQuery是否存在, 兼容以前代码