Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * jQuery anchor plugin
- */
- (function($) {
- $.anchor = {
- hashTrim: /^.*#/,
- }
- })(jQuery);
- console.log($.ajax);
- console.log($.anchor);
- $(function() {
- console.log($.ajax);
- console.log($.anchor);
- });
- $.fn.anchor
- (function($) {
- $.fn.anchor = {
- hashTrim: /^.*#/,
- }
- })(jQuery);
Add Comment
Please, Sign In to add comment