ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - What's the deal with "$pc" in some JS files?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

What's the deal with "$pc" in some JS files?

 Post Reply Post Reply
Author
Message
Brett View Drop Down
Groupie
Groupie
Avatar

Joined: 22-April-2008
Location: Phoenix, AZ
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote Brett Quote  Post ReplyReply Direct Link To This Post Topic: What's the deal with "$pc" in some JS files?
    Posted: 06-May-2015 at 1:37am
I've noticed that, about half of the time, ProductCart's JavaScript code, specifically the jQuery stuff, uses "$pc" as an alias for jQuery's "$".

What's the reason for this abstraction? It seems to me like just sticking with jQuery's "$" would work fine in most of these cases, and using "$pc" seems to make it harder to work with the jQuery code.

I've tried looking through (literally all of) the various JS files within ProductCart to determine the reason for this, but have been unable to figure it out. Hopefully someone can shed some light on this curiosity.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.064 seconds.