daily pastebin goal
76%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.      * jQuery anchor plugin
  3.      */
  4.     (function($) {
  5.         $.anchor = {
  6.             hashTrim: /^.*#/,
  7.         }
  8.     })(jQuery);
  9.  
  10.     console.log($.ajax);
  11.     console.log($.anchor);
  12.  
  13.     $(function() {
  14.         console.log($.ajax);
  15.         console.log($.anchor);
  16.     });
  17.    
  18. $.fn.anchor
  19.    
  20. (function($) {
  21.     $.fn.anchor = {
  22.         hashTrim: /^.*#/,
  23.     }
  24. })(jQuery);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top