3

Why.

A PHP variable "declared" in the jQuery.
I don't know why Sublime Text (3) does that.

(Sorry for the quality, the screencut was for friends but I thought it could belong here too.)

Disclaimer:
I don't use jQuery, previous "dev" did.
I don't actually care about this.

Comments
  • 5
    Jquery accepts "$variableName" and is commonly used to state the variable is an object and not a string or something else.

    This isn't a php declaration in jquery.... unless you had one crazy ass dev work on it?
  • 1
    The $ sign doesnt make it a PHP declaration.
    writing_it_like_this won't make it a C declaration either.
  • 0
    @C0D4 That's what ST3 thinks.
  • 1
  • 2
    @C0D4 sublime text 3
  • 3
    @Rozz 🤦‍♂️I don't know how I missed that.
Add Comment