History

Add iframe tag to JS errors

Thibaut committed 11 years ago

Commit 485f2181 parent 2cdc9c51 file · +1 −0Browse files

Showing the changes to assets/javascripts (1 of 1 file). Show all

Unified · Split

assets/javascripts/app/app.coffee+1−0
@@ -55,6 +55,7 @@ · 54 unmodified lines
55 ignoreErrors: [/dpQuery/, /NPObject/]55 ignoreErrors: [/dpQuery/, /NPObject/]
56 tags:56 tags:
57 mode: if @DOC then 'single' else 'full'57 mode: if @DOC then 'single' else 'full'
58 iframe: (window.top isnt window).toString()
58 .install()59 .install()
59 @previousErrorHandler = onerror60 @previousErrorHandler = onerror
60 window.onerror = @onWindowError.bind(@)61 window.onerror = @onWindowError.bind(@)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t