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
diff --git a/activesupport/lib/active_support/core_ext/array/grouping.rb b/activesupport/lib/active_support/core_ext/array/grouping.rb | |
index 4cd9bfa..b6ccef5 100644 | |
--- a/activesupport/lib/active_support/core_ext/array/grouping.rb | |
+++ b/activesupport/lib/active_support/core_ext/array/grouping.rb | |
@@ -97,4 +97,16 @@ class Array | |
results | |
end | |
end | |
+ | |
+ |
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
{ | |
"version": "1.0", | |
"encoding": "UTF-8", | |
"entry": { | |
"xmlns": "http://www.w3.org/2005/Atom", | |
"xmlns$media": "http://search.yahoo.com/mrss/", | |
"xmlns$gd": "http://schemas.google.com/g/2005", | |
"xmlns$yt": "http://gdata.youtube.com/schemas/2007", | |
"gd$etag": "W/\"DEMFR347eCp7ImA9WhZVFkQ.\"", | |
"id": { |
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
Training Load (0.2ms) SELECT `trainings`.* FROM `trainings` WHERE ((begin_at <= '2011-06-15 09:00:00' AND '2011-06-15 09:00:00' <= finish_at) | |
OR (begin_at <= '2011-06-15 11:00:00' AND '2011-06-15 11:00:00' <= finish_at)) | |
Training Load (0.2ms) SELECT `trainings`.* FROM `trainings` WHERE `trainings`.`trainer_id` = 3 |
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
ig | |
.module('game.entities.levelchange') | |
.requires('impact.entity') | |
.defines -> | |
window.EntityLevelchange = ig.Entity.extend | |
_wmDrawBox: true | |
_wmBoxColor: 'rgba(0, 0, 255, 0.7)' | |
size: | |
x: 8 |
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
ig | |
.module('game.main') | |
.requires( | |
'impact.game' | |
'impact.font' | |
'game.menu' | |
'game.levels.test' | |
'game.entities.player' | |
'game.entities.levelchange' | |
'game.entities.trigger' |
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
ig | |
.module('game.main') | |
.requires( | |
'impact.game' | |
'impact.font' | |
'game.menu' | |
'game.levels.test' | |
'game.entities.player' | |
'game.entities.levelchange' | |
'game.entities.trigger' |
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
ig | |
.module('game.main') | |
.requires( | |
'impact.game' | |
'impact.font' | |
) | |
.defines -> | |
mockGame = ig.Game.extend | |
computeTexts: (texts, parameters)-> | |
compiledText = {} |
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
jQuery -> | |
window.game = new Game | |
players: window.players | |
territories: window.territories | |
mapView = new MapView(model: game) | |
$("#application").append(mapView.render().el) |
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
class window.MapTerritoryView extends Backbone.View | |
model: Territory | |
tagName: "area" | |
events: | |
"click": "handleClick" | |
handleClick: -> | |
console.log "Click on", @model |
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
class window.MapBadgeView extends Backbone.View | |
model: Territory | |
tagName: "li" | |
initialize: -> | |
@model.bind("change", @render) | |
render: -> | |
@ |