tomgenoni / cssdig-chrome

Chrome extension for analyzing CSS.
MIT License
380 stars 21 forks source link

"undefined is not a function" Error in Console #4

Closed awayken closed 9 years ago

awayken commented 9 years ago

When I use CSS Dig on http://www.dvorakmotors.com/ using the steps below, it throws the following error in the console: undefined is not a function

The error happens when you try selecting a rule on the left and the right side is supposed to narrow in on the selector that it's part of. I don't see this behavior on every site I visit, but this happened to be the first site I used CSS Dig on, hence my Twitter exchange with you about a feature addition.

Steps to recreate:

  1. Visit http://www.dvorakmotors.com/
  2. Click the CSS Dig for Chrome button
  3. Deselect all styles but "/assets/styles/homepage.css"
  4. Click "Start Digging"
  5. Expand background-image
  6. Choose the first rule
  7. Check the console for the error message

Let me know if I can provide more information.

ghost commented 9 years ago

Hi, I tried to reproduce but it was working for me. Could you try refreshing the site and trying again a few times? I'm going to be doing some on the extension in the coming weeks that should make it more stable/reliable.

screen shot 2014-12-03 at 10 49 06 am

If you're still seeing problems could you check your Javascript Console and let me know if you see any errors?

awayken commented 9 years ago

:+1: Works for me.

I honestly haven't been back to that client site since I posted my ticket, so this has probably been fixed for a while, but I just double-checked, and I'm no longer getting the error.

Thanks!