Browse Source

Make travis only email on success/failure change

pull/993/head
jlukic 10 years ago
parent
commit
773e100a33
2 changed files with 8 additions and 5 deletions
  1. 5
      .travis.yml
  2. 8
      spec/modal.commented.js

5
.travis.yml

@ -6,4 +6,7 @@ before_script:
- npm update
- mv src/semantic.config.example src/semantic.config
after_script:
- grunt coveralls
- grunt coveralls
notifications:
on_success: change
on_failure: change

8
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 : {

Loading…
Cancel
Save