This repository has been archived by the owner on Aug 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove twitter hover cards. Refine twitter search API query.
- Loading branch information
1 parent
614e221
commit 5f27d04
Showing
3 changed files
with
21 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
(function( $ ){ | ||
var tweet = "This is the tweet."; | ||
|
||
$(".task") | ||
.append('<a href="http://twitter.com/intent/tweet?text=' + encodeURIComponent(tweet) + '" class="pledge">Yes, I want to do this.</a><p>Here are some developers who want to do this too:</p><div class="pledges"></div>') | ||
.hashTask({ | ||
message : tweet, | ||
linkSelector : function() { return this.find('.pledge') }, | ||
avatarsSelector : function() { return this.find('.pledges') }, | ||
hashtag : function() { return this.data('hashtag') || '#igotmybeanie' } | ||
hashtag : function() { return this.data('hashtag') || '#igotmybeanie' }, | ||
searchPrefix : '(ivegotmybluebeanieonnowwhat.com OR movethewebforward.com) AND ' | ||
}); | ||
|
||
})( jQuery ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters