Work logs of William Yin

Tag: console.log

SharePoint

JavaScript code quality – browser compatibility improvement

Just a very quick tip about fixing two common mistakes, which would make your JavaScript code throw error in some browsers. Shame Code 1: console.log(“log some message”); Never use a naked console.log() as you don’t know if the client browser has debug tool or not. If the client browser is Read more…

By William Yin, 6 years ago July 4, 2015
Recent Posts
  • Update SharePoint 2013 search result to show https URLs (SSL)
  • Check authentication type in SharePoint (Kerberos or NTLM)
  • JavaScript code quality – browser compatibility improvement
  • Known issue – LINQ to SharePoint + SPSecurity.RunWithElevatedPrivileges
  • Easiest way to apply a JS file in SharePoint site collection scope!
Categories
  • SharePoint
  • EnglishEnglish
  • 中文 (中国)中文 (中国)
Archives
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • March 2015
  • February 2015
Meta
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
  • About Me
  • From the Editor
Hestia | Powered by WordPress