Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function ( $ ) {
- $.fn.ticket = function(options) {
- var opts = $.extend( {}, $.fn.ticket.defaults, options );
- console.log(opts);
- //console.log returns an empty object
- return this.each(function() {
- });
- };
- $.fn.ticket.defaults = {
- url: "api.mysystem.com/tickets",
- key: "89321kldska"
- };
- };
- }( jQuery ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement