Explorar o código

Ignore exceptions when 827 has been overriden

Thibaut %!s(int64=11) %!d(string=hai) anos
pai
achega
99a99d9d71
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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.