• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

davidmharding

technically enthusiastic

  • welcome
  • portfolio
  • resumé
  • contact

Archives for May 2016

You are here: Home / 2016 / Archives for May 2016

includes v. indexOf

May 17, 2016

Noticed some Javascript was breaking only in IE. Must have forgotten: Instead of string.includes use string.indexOf('x')>-1. Or better yet add the polyfill noted on the MDN String.prototype.includes() page!

Primary Sidebar

Recent Posts

  • includes v. indexOf
  • Bashing
  • Product Slideshow Revisited
  • AcademyX JS for Programmers + jQuery Brush-Ups
  • AcademyX Marks the Spot

Recent Comments

    Archives

    • May 2016
    • October 2015
    • February 2015
    • June 2013
    • February 2013
    • April 2012
    • March 2012
    • February 2012
    • January 2012
    • December 2011
    • November 2011
    • October 2011
    • September 2011

    Categories

    • art/design
    • design/art
    • dev
    • education
    • self-promotion
    • Uncategorized
    • webdev

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Footer

    • LinkedIn
    • Pinterest
    • Twitter

    Copyright © 2023 · Studio Pro on Genesis Framework · WordPress · Log in