Sha256: 28fef52562cde80b4b70f64b29e46b498244a62d5b19a8408b5fa2c5747132e6

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1318617537.9255629<l:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%fd953248d30d04bac31d072d6fb3b0faI"logical_path;
FI"player.js;
FI"
pathname;
FI"+$root/app/assets/javascripts/player.js;
FI"content_type;
FI"application/javascript;
FI"
mtime;
FI"2011-09-01T16:45:40-06:00;
FI"	body;
FI"Ôfunction Player() {
}

Player.prototype.play = function(song) {
  this.currentlyPlayingSong = song;
  this.isPlaying = true;
};

Player.prototype.pause = function() {
  this.isPlaying = false;
};

Player.prototype.resume = function() {
  if (this.isPlaying) {
    throw new Error("song is already playing");
  }

  this.isPlaying = true;
};

Player.prototype.makeFavorite = function() {
  console.log(this);
  this.currentlyPlayingSong.persistFavoriteStatus(true);
};
;
FI"asset_paths;
F[I"+$root/app/assets/javascripts/player.js;
FI"dependency_paths;
F[{I"	path;
FI"+$root/app/assets/javascripts/player.js;
FI"
mtime;
FIu:	Time
6à€€¶:@_zoneI"MDT;
T:offsetiþ «I"hexdigest;
F"%7802caebb2e933ff45ddfcde9566cd3bI"
_version;
F"%bb86174cee9b8a939ac3885b2d18e284

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test_track-0.0.4 test/dummy/tmp/cache/assets/DA0/DD0/sprockets%2Fa1add25c3825c15cc8a6be5917b96fe6