Twitter jQuery
(function($) { var o = $( {} ); $.each({ on: 'subscribe', trigger: 'publish', off: 'unsubscribe' }, function( key, api ) { $[api] = function() { o[key].apply( o, arguments ); } });})(jQuery);(function($) { var Twitter = { init: function() { this.template = '{{tweet}}'; this.query = '@javascript'; this.tweets = []; this.timer; this.cache(); this.bindEvents(); this.subscripti..
웹개발/Javascript
2012. 3. 5. 15:14