2 Replies Last post: Jun 25, 2012 4:58 PM by Kirill Safonov  
Dave Merrill Novice 133 posts since
Jul 9, 2010
Currently Being Moderated

Jun 17, 2012 11:39 PM

Pin icon on one javascript function

I'm working in a javascript file with both object-literal and prototype-based constructs. One function on one object has a pin icon on the function in the stucture pane. What does this mean?


It appears to have to do with the actual code in the function. This is the real code:

myApp.some.name.space.PropertiesSheet.prototype.callHandler = function(handler)
    if (typeof handler === 'function')
        return handler.apply(this, Array.prototype.slice.call(arguments, 1));


Removing all but the first argument to the apply() call removes the pin icon. Fas as I know, the original is valid syntax, and it does work, so I'm at a loss to understand what IDEA is trying to tell me, and I havne't found anything relevant in the docs.


I'm on 11.1, version 117.499, if that matters.


Thanks in advance,


Kirill Safonov Apprentice 584 posts since
Jul 9, 2009
Currently Being Moderated
Jun 25, 2012 4:58 PM in response to: Dave Merrill
Re: Pin icon on one javascript function

Hi Dave,


Sorry for delay, it's a bug indeed. Usually pin symbol denotes constant items.



More Like This

  • Retrieving data ...