Sha256: a6f85955ad27696ce3553adc359dff034808332b1c5523e4616dc46079dc90ac
Contents?: true
Size: 625 Bytes
Versions: 52
Compression:
Stored size: 625 Bytes
Contents
/* * twitter_anywhere.js : use Twitter@Anywhere * * Copyright (C) 2012 by tamoot <tamoot+tdiary@gmail.com> * You can distribute it under GPL. */ $( function() { // load config from tDiary plugin (twitter_anywhere.rb) var config = $tDiary.plugin.twitter_anywhere; // hovarcards var expand = config.hovercards.expand_default; $.each(config.selectors, function(i, css){ twttr.anywhere(function(twitter) { twitter(css).hovercards(expand); }); }); }); // tweet box function showTweetBox(option) { twttr.anywhere(function (T) { T("#tweetbox").tweetBox(option); }); }
Version data entries
52 entries across 46 versions & 2 rubygems