code: function autoForJquery (ref) {
    var t$ = ref
    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.$.templateLoader = t$.templateLoader
        window.$.templateLoaderAgent = t$.templateLoaderAgent
        window.$.cssjsLoader = t$.cssjsLoader
  
        window.$['RTY_3rd_Ensure'] = t$['RTY_3rd_Ensure']
  
        window.$ = window.$.extend(window.$, t$)
      }
    }
  }
docs: 检测全局变量JQuery是否存在, 兼容以前代码