This file contains hidden or 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
| // some shows have multiple times seperated by commas | |
| // if there is no comma, split just returns an array with the single value in it | |
| // this code is overly clever | |
| todays_showtimes = todays_showtimes[0].split(","); |
This file contains hidden or 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
| var stuff = { | |
| "name":"" | |
| ,"showtimes":{ | |
| "Mon":"" | |
| ,"Tue":"" | |
| ,"Wed":"" | |
| ,"Thu":"" | |
| ,"Fri":"" | |
| ,"Sat":"" | |
| ,"Sun":"" |
This file contains hidden or 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
| WARNING: Could not read configuration. Using defaults (and options). | |
| No such file or directory - /Users/danielmiller/Documents/workspace/djdc/2010/_config.yml | |
| Auto-regenerating enabled: /Users/danielmiller/Documents/workspace/djdc/2010 -> /Users/danielmiller/Documents/workspace/djdc/2010/_site | |
| [2011-05-17 22:44:25] regeneration: 119 files changed | |
| /Users/danielmiller/.rvm/gems/ruby-1.8.7-p302/gems/home_run-1.0.2/lib/date/format.rb:663: [BUG] Segmentation fault | |
| ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-darwin10.3.0] | |
| -- control frame ---------- | |
| c:0030 p:---- s:0241 b:0241 l:000240 d:000240 CFUNC :_ragel_parse | |
| c:0029 p:0017 s:0237 b:0237 l:000236 d:000236 METHOD /Users/danielmiller/.rvm/gems/ruby-1.8.7-p302/gems/home_run-1.0.2/lib/date/format.rb:663 |
This file contains hidden or 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
| Todoblin.Views.Stage = Backbone.View.extend({ | |
| initialize: function() { | |
| var self = this; | |
| this.completedTasks = 0; | |
| _.bindAll(this, "render", "fetchGoals", "fetchRewards", "fetchPoints", "pointsUpdate"); | |
| this.render(); | |
| $("#goals").bind("points.update", function() { | |
| self.completedTasks ++; | |
| if(self.completedTasks % 3 == 0) { | |
| new Todoblin.Views.Notice(); |
This file contains hidden or 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
| .goal_container { | |
| background: #fff; | |
| margin-bottom: 20px; | |
| padding: 0 0 10px 0; | |
| border: 1px solid $main_border; | |
| width: 375px; | |
| @include box-shadow(rgba(0,0,0,0.1), -2px, 2px, 4px); | |
| @include border-radius; | |
| &:hover { |
This file contains hidden or 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
| //force redraw for FF hot topic scrolling issue | |
| //longer-term solution here is rework the markup towards more sanity | |
| Collecta.Client.do_hot_topics_redraw = true; | |
| $("#hot_topics").scroll(function(){ | |
| console.log("scroll"); | |
| //don't be doing this every scroll event, | |
| //that's just a waste of good CPU | |
| if (Collecta.Client.do_hot_topics_redraw === true) { | |
| setTimeout(function() { | |
| console.log("doing redraw"); |
NewerOlder