File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@app =
2- $ : $
3- $$ : $$
2+ _$ : $
3+ _$$ : $$
4+ _page : page
45 collections : {}
56 models : {}
67 templates : {}
5354 Raven .config @config .sentry_dsn ,
5455 whitelistUrls : [/ devdocs/ ]
5556 includePaths : [/ devdocs/ ]
56- ignoreErrors : [/ dpQuery/ , / NPObject/ ]
57+ ignoreErrors : [/ dpQuery/ , / NPObject/ , / NS_ERROR / , / ^ null $ / ]
5758 tags :
5859 mode : if @DOC then ' single' else ' full'
5960 iframe : (window .top isnt window ).toString ()
163164 return
164165
165166 onQuotaExceeded : ->
167+ return if @quotaExceeded
168+ @quotaExceeded = true
166169 new app.views.Notif ' QuotaExceeded' , autoHide : null
167170 Raven .captureMessage ' QuotaExceededError'
168171
188191 isInjectionError : ->
189192 # Some browser extensions expect the entire web to use jQuery.
190193 # I gave up trying to fight back.
191- window .$ isnt app .$ or window .$$ isnt app .$$
194+ window .$ isnt app ._ $ or window .$$ isnt app ._$$ or window . page isnt app . _page
192195
193196 isAppError : (error , file ) ->
194197 # Ignore errors from external scripts.
You can’t perform that action at this time.
0 commit comments