Skip to content

Commit

Permalink
Bugfix set Math.random() instead of just random()
Browse files Browse the repository at this point in the history
  • Loading branch information
skranz committed Apr 8, 2016
1 parent 7d98286 commit 966280a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/www/shinyAce.js
Expand Up @@ -66,7 +66,7 @@ var rlangCompleter = {
// nonce causes autcomplement event to trigger
// on R side even if Ctrl-Space is pressed twice
// with the same linebuffer and cursorPosition
nonce: random()
nonce: Math.random()
});
//store callback for dynamic completion
$('#' + inputId).data('autoCompleteCallback', callback);
Expand Down

0 comments on commit 966280a

Please sign in to comment.