>
Error messagePDOException: SQLSTATE[HY000] [1040] Too many connections in lock_may_be_available() (line 167 of /var/app/current/hearphones/includes/lock.inc).
760 karma · joined May 9, 2015
[ my public key: https://keybase.io/pakastin; my proof: https://keybase.io/pakastin/sigs/Hc6PdXGGGE6Q2wtbt2nqz2s4OyQwuHrpyoRWIlBWraY ]
Point is to be able to design: 1) how you create component 2) how you update it Both 1) and 2) are just simple functions.
But yeah, I agree about googling part: I remember having Googled "tilde javascript" and "pipe javascript".. :)
Tilde is useful with indexOf:
if (~array.indexOf(item)) {}
..equals to:
if (array.indexOf(item) > -1) {}