From 773e100a337d2dd85ab679e748cb46edcb845662 Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 28 Jul 2014 17:24:03 -0400 Subject: [PATCH] Make travis only email on success/failure change --- .travis.yml | 5 ++++- spec/modal.commented.js | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c4e43b97f..db21db665 100755 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,7 @@ before_script: - npm update - mv src/semantic.config.example src/semantic.config after_script: - - grunt coveralls \ No newline at end of file + - grunt coveralls +notifications: + on_success: change + on_failure: change \ No newline at end of file diff --git a/spec/modal.commented.js b/spec/modal.commented.js index 676f05dab..a5eaf291d 100755 --- a/spec/modal.commented.js +++ b/spec/modal.commented.js @@ -731,13 +731,13 @@ $.fn.modal.settings = { transition : 'scale', // Callback when modal shows - onShow : function(){}, + onShow : function() {}, // Callback when modal hides - onHide : function(){}, + onHide : function() {}, // Callback when modal approve action is called - onApprove : function(){ return true }, + onApprove : function() { return true; }, // Callback when modal deny action is called - onDeny : function(){ return true }, + onDeny : function() { return true; }, // List of selectors used to match behavior to DOM elements selector : {