Skip to content

Instantly share code, notes, and snippets.

@aron
Created April 19, 2012 19:58
Show Gist options
  • Save aron/2423759 to your computer and use it in GitHub Desktop.
Save aron/2423759 to your computer and use it in GitHub Desktop.

Cannot debug scripts on page load

  1. Visit http://documentcloud.github.com/backbone/examples/todos/index.html
  2. Open Web Inspector
  3. Locate file todos.js
  4. Place breakpoint at line 13
  5. Refresh page

Expect execution to be paused on line 13. Instead you get an infinite spinner.

Cannot debug scripts that use "use strict" pragma

  1. Visit http://jsbin.com/isanoy/3
  2. Open Inspector
  3. Add breakpoint on the line "return something";
  4. Call doSomething() in console
  5. Enter "something" into the console

Get error: "SyntaxError: 'with' statements are not valid in strict mode"

Auto-complete popup uses serif font

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment