gadicc / meteor-reactive-window

Reactive functions for window properties; width, scroll, etc
MIT License
29 stars 3 forks source link

ReferenceError: Can't find variable: debug #10

Open kjetilge opened 8 years ago

kjetilge commented 8 years ago

This error (visible in Safari console) makes a lot of things stop working:

[Error] ReferenceError: Can't find variable: debug
    (anonym funksjon) (gadicohen_reactive-window.js:142)
    fire (jquery.js:3169)
    fireWith (jquery.js:3281)
    ready (jquery.js:3493)
    completed (jquery.js:3524)

This seems to be the offending line of code:

debug.warn('reactive-window: no MutationObserver, won\'t notice scrollbars');                 // 100
kjetilge commented 8 years ago

It seems this error is fixed on the github version now.

kjetilge commented 8 years ago

Now, in stead I get: reactive-window: no MutationObserver, won't notice scrollbars Could this be related to an other error I get in Chrome?: 'Object.observe' is deprecated and will be removed in M50, around April 2016. See https://www.chromestatus.com/features/6147094632988672 for more details.