Give help. Get help.

  • # March 10, 2013 at 4:12 pm

    Hey Everyone,

    My javascript usage on websites that I typically create is minimal, so I’m not an expert on best practices. On my portfolio site, I have all of my custom javascript compiled into one file that loads on every page of the site. I noticed that when looking at the site with developer tools, on anything other than the “About” page, it is logging a bunch of errors. The reason for this is that there is some js specific to the “About” page that loads on every page. It bothers me to see these errors every time that I view the site with developer tools. So, I guess my question is this: What is best practice? Do these errors matter, and if they do, what would be the best practice for conditionally loading this js?

    Thank You,

    Sean Michael

    # March 10, 2013 at 6:16 pm

    Thanks @JoshBlackwood. Just out of curiousity though, becuase this has come up before, are these errors harmful towards performance?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.