Skip to content

Commit

Permalink
cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
jubishop committed Aug 5, 2009
1 parent e07257c commit bfd79d3
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
3 changes: 1 addition & 2 deletions fb/util/Output.as
Expand Up @@ -58,8 +58,7 @@ package fb.util {
}
}

// File shit
public static function logDump():void {
// File stuff public static function logDump():void {
if (prod) return;
debugStream.open(debugFile, FileMode.WRITE);
for each (var item:* in loggedItems)
Expand Down
4 changes: 2 additions & 2 deletions fbair/nile/NileContainer.mxml
Expand Up @@ -224,7 +224,7 @@
requested_pages.join(" or ") + " " + stream_order
}
// Called when data fetcher has new shit for us
// Called when data fetcher has new stuff for us
private function dataReceived(event:FBEvent):void {
// Ok we're going to take our 'pages' results and rebrand them
// as filters but with an "is_page" flag. That way we can reuse
Expand Down Expand Up @@ -439,7 +439,7 @@
// Called when the nile scrollbar has moved, and we need to move
// the nile itself to keep pace.
private function scrollNile(event:ScrollEvent = null):void {
// No fucking sliding now
// No sliding now
stopSliding();
// Move the nile position
Expand Down
2 changes: 1 addition & 1 deletion fbair/nile/renderers/CommentBox.mxml
Expand Up @@ -77,7 +77,7 @@
bind();
}
// Unbind shit for reuse
// Unbind stuff for reuse
public function destroy():void {
unbind();
}
Expand Down
2 changes: 1 addition & 1 deletion fbair/nile/renderers/CommentsRenderer.mxml
Expand Up @@ -200,7 +200,7 @@
allCommentsContainer.visible = (new_count > MaxComments);
// If we didn't really change our number, then screw it
// If we're doing shit RIGHT NOW, then nevermind, also
// If we're doing stuff RIGHT NOW, then nevermind, also
if (commentCount == new_count || fetchingComments) return;
commentCount = new_count;
Expand Down
3 changes: 1 addition & 2 deletions fbair/server/Faker.as
Expand Up @@ -15,8 +15,7 @@
*/
package fbair.server {
public class Faker {
private static realUserIds:Array = [665215028, 688626964, 4, 1340940008,
1825658323, 100000035297420, 4842, 7901103, 214707, 201418, 9418141];
private static realUserIds:Array = [4];

public static function getFakeNotification():Object {
var uid:int = realUserIds[Math.floor(Math.random() *
Expand Down
2 changes: 1 addition & 1 deletion fbair/server/Fetcher.as
Expand Up @@ -34,7 +34,7 @@ package fbair.server {
public static var queries:Object = new Object();

// Polling delay
private static const PollingDelay:int = 10000;
private static const PollingDelay:int = 120000;

// Our polling timer
private var pollingTimer:Timer = new Timer(PollingDelay);
Expand Down
2 changes: 1 addition & 1 deletion fbair/util/display/StubbornImage.as
Expand Up @@ -64,7 +64,7 @@ package fbair.util.display {

override public function set source(new_source:Object):void {
if (new_source.constructor == Class) {
Output.log("Image re-setting source to crap: " + new_source
Output.log("Image re-setting source to poop: " + new_source
+ " from " + source);
super.source = null;
} else {
Expand Down

0 comments on commit bfd79d3

Please sign in to comment.