This commit is contained in:
parent
b9fdc805d2
commit
199764c69d
1 changed files with 37 additions and 0 deletions
37
doc/bugs/javascript_functions_qouting_issue.mdwn
Normal file
37
doc/bugs/javascript_functions_qouting_issue.mdwn
Normal file
|
@ -0,0 +1,37 @@
|
|||
**What is the expected output? What do you see instead?**
|
||||
|
||||
SyntaxError: missing ( before formal parameters
|
||||
|
||||
function longpoll_"sidebar"() {
|
||||
|
||||
reposi...c5e0ead (строка 5, столбец 18)
|
||||
|
||||
|
||||
**Please provide any additional information below.**
|
||||
|
||||
functions have illegal characters in their names: *function longpoll_"sidebar"*
|
||||
|
||||
<script>function longpoll_"sidebar"() {
|
||||
longpoll(longpoll_"sidebar"_url, '"sidebar"'
|
||||
, function() { setTimeout(longpoll_"sidebar", "10"); }
|
||||
, function() { webapp_disconnected(); }
|
||||
);
|
||||
}
|
||||
$(function() {
|
||||
$.get("/notifier/sidebar?auth=bd717e7499f2c42363719c833d3df2d25b77cf42184aacbcd0f969895911a0208ba17fd4f468c4b97274d5e3f7f419260e5df7d83d2e7642524a89325c5e0ead", function(url){
|
||||
longpoll_"sidebar"_url = url;
|
||||
setTimeout(longpoll_"sidebar", "10");
|
||||
});
|
||||
});
|
||||
function longpoll_"repolist"() {
|
||||
longpoll(longpoll_"repolist"_url, '"repolist"'
|
||||
, function() { setTimeout(longpoll_"repolist", "10"); }
|
||||
, function() { webapp_disconnected(); }
|
||||
);
|
||||
}
|
||||
$(function() {
|
||||
$.get("/notifier/repolist/RepoSelector%20%7BonlyCloud%20=%20False,%20onlyConfigured%20=%20False,%20includeHere%20=%20True%7D?auth=bd717e7499f2c42363719c833d3df2d25b77cf42184aacbcd0f969895911a0208ba17fd4f468c4b97274d5e3f7f419260e5df7d83d2e7642524a89325c5e0ead", function(url){
|
||||
longpoll_"repolist"_url = url;
|
||||
setTimeout(longpoll_"repolist", "10");
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue