Skip to content

Commit

Permalink
Merge pull request kubernetes#616 from brendandburns/example
Browse files Browse the repository at this point in the history
Augment the update example to turn black if the server is not responding...
  • Loading branch information
smarterclayton committed Jul 25, 2014
2 parents 4372b7a + 854b9e1 commit dde108a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/update-demo/local/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var updateColor = function($http, server) {
console.log(data);
})
.error(function(data) {
server.color = "#000";
console.log(data);
});
};
Expand Down

0 comments on commit dde108a

Please sign in to comment.