how do I figure out what is_image means in file.is_image in JavaScript?
I'm using a plugin in which file.is_image
is used. Somewhere, I reckon is_image ought to be defined. How do I find out what it is defined to?
I'd reckon it should be something like "$is_image =" or something like that, I'm not great with JavaScript开发者_如何转开发 syntax etc.
I guess you already searched the plugin code itself and didn't find it?
If you have Firefox, the Firebug add-on let you search all loaded scripts, so just search for the word is_image and you'll find it. Same with Chrome as far as I remember.
For IE you'll probably need external tool but the idea is the same: search through all the loaded scripts in the page.
精彩评论