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
# Based upon John Resig's Pretty Date | |
# http://ejohn.org/blog/javascript-pretty-date/ | |
Helpers = -> | |
@convert_twitter_timestamp = (time) -> | |
date = new Date(Date.parse(time)) | |
diff = (((new Date()).getTime() - date.getTime()) / 1000) | |
day_diff = Math.floor(diff / 86400) | |
if diff < 60 |
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
ruleset a60x295 { | |
meta { | |
name "use-external-resources" | |
description << | |
Pull in external CSS and JavaScript resources to be used by the app | |
>> | |
author "Mike Grace" | |
logging on | |
use javascript resource "http://dl.dropbox.com/u/1446072/tester.js" |
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
ruleset a60x294 { | |
meta { | |
name "explicit-event-data-test" | |
description << | |
explicit-event-data-test | |
>> | |
author "Mike Grace" | |
logging on | |
} |