Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
38 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Element: Element.Tweetify {#Element} | ||
===================================== | ||
|
||
Tweetify extends Strings and Elements with the tweetify method to take text and format as a tweet. | ||
|
||
|
||
### Syntax: | ||
|
||
var tweeted = myString.tweetify(); | ||
|
||
### Arguments: | ||
|
||
None |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Tweetify | ||
========= | ||
|
||
Tweetify extends Strings and Elements with the tweetify method to take text and format as a tweet. | ||
|
||
![Screenshot](http://davidwalsh.name/wp-content/themes/walshbook3/images/twitter.png) | ||
|
||
|
||
How to Use | ||
---------- | ||
|
||
The tweetify method may be used on either String or Element types. | ||
|
||
#JS | ||
//Usage 1: String | ||
var tweetText = tweets[0].tweetify(); | ||
|
||
//Usage 2: Element | ||
$('latestTweet').tweetify(); | ||
|
||
For specific usage and options, please read the documentation or visit [http://davidwalsh.name/tweetify](http://davidwalsh.name/tweetify) |
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