Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor changes

- reformatting
- non-antialiased text
  • Loading branch information...
commit 61e0e79563d453c48353f08afeeaa77677fb3ddd 1 parent 9706b5f
@MoritzStefaner authored
View
BIN  bin/revisit.swf
Binary file not shown
View
BIN  fla/revisit.fla
Binary file not shown
View
2  src/eu/stefaner/revisit/App.as
@@ -1 +1 @@
-/*
+/*
View
2  src/eu/stefaner/revisit/Settings.as
@@ -1 +1 @@
-/*
+/*
View
2  src/eu/stefaner/revisit/TweetConnection.as
@@ -1 +1 @@
- /*
+/*
View
23 src/eu/stefaner/revisit/TweetData.as
@@ -1,4 +1,4 @@
- /*
+/*
Copyright 2010, Moritz Stefaner
@@ -14,9 +14,10 @@
See the License for the specific language governing permissions and
limitations under the License.
-*/
+ */
package eu.stefaner.revisit {
+
import com.swfjunkie.tweetr.data.objects.SearchResultData;
import com.swfjunkie.tweetr.utils.TweetUtil;
@@ -53,8 +54,8 @@ package eu.stefaner.revisit {
td.createdAt = tweet.createdAt;
td.userProfileImage = tweet.userProfileImage;
td.user = tweet.user;
- td.userLink = tweet.userLink;
- td.userName = tweet.user.split(" ")[0].toLowerCase();
+ td.userLink = tweet.userLink;
+ td.userName = tweet.user.split(" ")[0].toLowerCase();
return td;
}
@@ -79,18 +80,18 @@ package eu.stefaner.revisit {
private function processText() : void {
var refRE : RegExp = /[@]+[A-Za-z0-9-_]+/g;
- var rtRE : RegExp = /(RT |via )[@]+[A-Za-z0-9-_]+/g;
+ var rtRE : RegExp = /(RT |via )[@]+[A-Za-z0-9-_]+/g;
var tempText : String = text;
-
- retweets = tempText.match(rtRE);
+
+ retweets = tempText.match(rtRE);
tempText = tempText.replace(rtRE, "");
-
- references = tempText.match(refRE);
-
+
+ references = tempText.match(refRE);
+
simpleText = text;
simpleText = simpleText.replace(rtRE, "");
simpleText = simpleText.replace(refRE, "");
-
+
simpleText = simpleText.replace(/\W/g, "");
simpleText = simpleText.toLowerCase();
}
View
2  src/eu/stefaner/revisit/TweetSprite.as
@@ -1 +1 @@
- /*
+/*
View
2  src/eu/stefaner/revisit/TweetVisualization.as
@@ -1 +1 @@
- /*
+/*
Please sign in to comment.
Something went wrong with that request. Please try again.