差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
dokuwiki:bugs:formatplus-jquery [2017/10/13 11:57]
ghsrobert
dokuwiki:bugs:formatplus-jquery [2017/10/16 18:15] (目前版本)
ghsrobert 不用 syntaxhighligher4,回來用 DW 內建
行 6: 行 6:
  
   * 原來是 jQuery 1.9 拿掉 jQuery.browser 了 ☞ [[https://stackoverflow.com/questions/24379212/typeerror-jquery-browser-is-undefined|javascript - TypeError: jQuery.browser is undefined - Stack Overflow]]   * 原來是 jQuery 1.9 拿掉 jQuery.browser 了 ☞ [[https://stackoverflow.com/questions/24379212/typeerror-jquery-browser-is-undefined|javascript - TypeError: jQuery.browser is undefined - Stack Overflow]]
-  * ↑想改 /lib/plugin/formatplus/script.js,上文中提到應改用 navigation.userAgent,但我還是不得要領 :s\\ → 搜尋「replace jquery.browser」後找到 [[https://stackoverflow.com/questions/9645803/whats-the-replacement-for-browser#answer-15072522|jquery - What's the replacement for $.browser - Stack Overflow]] 裡有提供一段<code>jQuery.uaMatch = function( ua ) {+  * ↑想改 /lib/plugin/formatplus/script.js,上文中提到應改用 navigation.userAgent,但我還是不得要領 :s\\ → 搜尋「replace jquery.browser」後找到 [[https://stackoverflow.com/questions/9645803/whats-the-replacement-for-browser#answer-15072522|jquery - What's the replacement for $.browser - Stack Overflow]] 裡有提供一段<code javascript>jQuery.uaMatch = function( ua ) {
     ua = ua.toLowerCase();     ua = ua.toLowerCase();
     var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||     var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) ||
  • 上一次變更: 2017/10/13 11:57
  • ghsrobert