gulp now copies assets from assets folder, build folder is now ignored by git

This commit is contained in:
Senad Uka
2014-12-21 07:18:38 +01:00
parent 2a7ff5bc3b
commit 8106a0f375
27 changed files with 36 additions and 47077 deletions

View File

@@ -0,0 +1,22 @@
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() {
this.currentlyPlayingSong.persistFavoriteStatus(true);
};

7
app/assets/jasmine/src/Song.js Executable file
View File

@@ -0,0 +1,7 @@
function Song() {
}
Song.prototype.persistFavoriteStatus = function(value) {
// something complicated
throw new Error("not yet implemented");
};