app/assets/javascripts/vex.dialog.js in vex_rails-0.1.1 vs app/assets/javascripts/vex.dialog.js in vex_rails-0.2.0

- old
+ new

@@ -37,14 +37,10 @@ return vex.close($vexContent.data().vex.id); } } }; dialog.defaultOptions = { - callback: function(value) { - if (console && console.log) { - return console.log('Vex dialog callback:', value); - } - }, + callback: function(value) {}, afterOpen: function() {}, message: 'Message', input: "<input name=\"vex\" type=\"hidden\" value=\"_vex-empty-value\" />", value: false, buttons: [dialog.buttons.YES, dialog.buttons.NO],