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.$.RTYUtils = window.$.extend(window.$.RTYUtils, t$)
          window.$ = window.$.extend(window.$, t$)
        }
      }
    } catch (error) {
      console.warn(error)
    }
  }
docs: 检测全局变量JQuery是否存在, 兼容以前代码