Sha256: d488540545bb375ef659c364bd08a85b34ac4fda86f2b986af6ec115b1038990

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1314721377.03446824º:@value{I"
class:EFI"BundledAsset;
FI"id;
F"%215fb3a6c8351720194c5b0d2eae6869I"logical_path;
FI"player.js;
FI"
pathname;
FI"+$root/app/assets/javascripts/player.js;
FI"content_type;
FI"application/javascript;
FI"
mtime;
FI"2011-08-30T10:10:15-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
Ð߀ð(:@_zone"MDT:offsetiþ «I"hexdigest;
F"%7802caebb2e933ff45ddfcde9566cd3bI"
_version;
F"%bb86174cee9b8a939ac3885b2d18e284

Version data entries

1 entries across 1 versions & 1 rubygems

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