Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added .trigger() logger plugin

  • Loading branch information...
commit ddd9a44446e0e2a59995ef2ac28a0b7812cc400a 1 parent d980d2b
@Marak Marak authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 client/js/app.js
View
7 client/js/app.js
@@ -151,6 +151,13 @@ $(function() {
pageLoad: function() {
+ // custom .trigger logger
+ var _trigger = $.fn.trigger;
+ $.fn.trigger = function(name,args,p){
+ console.log(name, args, _trigger);
+ return _trigger.apply(this,arguments);
+ };
+
jQuery.extend(jQuery.expr[':'], {
focus: "a == document.activeElement"
});
Please sign in to comment.
Something went wrong with that request. Please try again.