Skip to content

Commit b97d6e4

Browse files
committed
1.1.1
1 parent 550ae0e commit b97d6e4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,21 @@
4444
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
4545
<script>
4646
$(function() {
47-
var plugins = [], base = '//cdn.ravenjs.com/1.1.0/', $download = $('#download');
47+
var plugins = [], base = '//cdn.ravenjs.com/1.1.1/', $download = $('#download');
4848
$('input[type="checkbox"]').on('click', function() {
49-
var val = $(this).val();
49+
var val = $(this).val(), url;
5050
if ($(this).prop('checked')) {
5151
plugins.push($(this).val());
5252
} else {
5353
plugins.splice(plugins.indexOf(val), 1);
5454
}
5555
if (plugins.length) {
5656
plugins.sort();
57-
$download.val(base + plugins.join(',') + '/raven.min.js');
57+
url = base + plugins.join(',') + '/raven.min.js';
5858
} else {
59-
$download.val(base + 'raven.min.js');
59+
url = base + 'raven.min.js';
6060
}
61+
$download.val(url);
6162
});
6263
var defaults = ['jquery', 'native'];
6364
for (var i=0; i<defaults.length; i++) {

0 commit comments

Comments
 (0)