Browse Source

Ignore exceptions when 827 has been overriden

Thibaut 11 years ago
parent
commit
99a99d9d71
1 changed files with 2 additions and 1 deletions
  1. 2 1
      assets/javascripts/app/app.coffee

+ 2 - 1
assets/javascripts/app/app.coffee

@@ -1,5 +1,6 @@
 @app =
   $: $
+  $$: $$
   collections: {}
   models:      {}
   templates:   {}
@@ -142,7 +143,7 @@
   isInjectionError: ->
     # Some browser extensions expect the entire web to use jQuery.
     # I gave up trying to fight back.
-    window.$ isnt app.$
+    window.$ isnt app.$ or window.$$ isnt app.$$
 
   isAppError: (error, file) ->
     # Ignore errors from external scripts.