ソースを参照

Ignore exceptions when 827 has been overriden

Thibaut 11 年 前
コミット
99a99d9d71
1 ファイル変更2 行追加1 行削除
  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.