Hi all!

I am trying to write a greasemonkey script, which uses lodash. I am not 
very familiar with lodash. However, when I use it with the following 
require:

// @require     
https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.js

the Browser console (Pressing Ctrl+Shift+J) warns me about this:



The problematic function is:

    /** Used to detect if a method is native */
    var reNative = RegExp('^' +
      String(toString)
        .replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
        .replace(/toString| for [^\]]+/g, '.*?') + '$'
    );

However, I cannot reproduce this with a hello world greasemonkey script, 
which includes this file.

To say the whole truth, I don't know how to debug greasemonkey scripts at 
all! I found little or no feedback from browser console. How can one debug 
greasemonkey scripts?

thanks

Gergo

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to