Console error jQuery-migrate is deprecated - javascript

enter image description here
please see image attached
here is the log file
https://www.mediafire.com/file/p7ammfphepp971c/bergliebe.de-1676861991328.log/file
Never tried anything yet, afraid to mess up then site would break

Related

JavaScript critical error - SCRIPT1004: Expected ';'

enter image description here
I am getting JavaScript critical error - SCRIPT1004: Expected ';' when i run my solution. It works fine when i click on continue. However, the file in which this erroro message is displayed, is visible only at run time. How should i resolve this issue. On searching for similar keywords, i got a file reference from where the code appears to be coming which is showing error:
enter image description here
Replacing If with if worked, getting similar error on next line:
enter image description here

rails 4.2 tinyMCE gem produces failed to load content css skins/lightgray/content.min.css

I just introduced tinyMCE into my rails 4.2.8 site to let manage formatted text in articles. Everything works fine actually but now and then a warning message produced by tinyMCE comes up such as "failed to load content css: http://myurl/assets/tinymce/skins/lightgray/content.min.css" but if a look at the debug console in firefox I see that url has perfectly found and loaded content.min.css.
When the warning message is there I can't enter anything in the textarea but the situation is fixed by reloading the page, then the rich text can be nicely entered and the relevant data is loaded correctly into the backend DB via relevant input form.
I don't understand the reason why tinyMCE is signalling such a warning despite the fact that the css file was actually found.
Any idea? Thanks and kind regards
Vincenzo
**** update on June 8th 2017 ****
Now I can better explain what's actually going on.
1) the problem shows up in Firefox v.53, if I use Chrome everything works fine
2) I am using tinyMCE in three distinct forms: one for new articles, one for editing, one for comments.
3) If I insert a few new articles no problem appears, the problem shows up just chenging the form in use: i.e. after insertion an article I try editing it or another one or else I try to insert a comment after havine inserted a new article. After the error message has shown I can always recover by reloading the page and no error appears eventually.
I guess there is some caching problem specifically in Firefox since all works fine in Chrome. I will try Windows Edge too..
2017/06/10
Tried Windows Edge on Win10: it works fine too.
2017/06/14
In the meantime I opened bug 1371910 at https://bugzilla.mozilla.org/show_bug.cgi?id=1371910#c5 a few days ago and the result was:
QUOTE
Hi Vincenzo,
Thanks for sending us the link. Unfortunately this seems to be a problem with tinyMCE rather than Firefox.
The initial load of content.min.css works correctly, and no other attempts to reload it seem to be made.
If it works in other browsers it is probably due to the developers doing things differently.
If you still think this is a bug in Firefox, please reopen this bug, and send us a smaller test case.
PS. Others seem to be having the same problem as you: https://community.tinymce.com/communityQuestion?id=90661000000Qct9AAC
I hope you find a way to fix it.
UNQUOTE
What the Firefox support says makes sense since I too whatched the content.min.css file was actually loaded by the browser so in must be tinyMCE to misinterpret something. Anyway I am still in the soup...
Whoever might have some interest at this issue please hava a look at:
http://vinloren-learn-rails.herokuapp.com/articles accessing this endpoint with Firefox v52..v54 the click show any article then going back via the 'back' link at the end of the article's content.

Loading gif in page:failed to load resource Cordova

For some time I'm trying to develop my own app using cordova. The first page I created is the login. When the user clicks on the submit button I check the credentials by sending them using ajax. Meanwhile I want to display a loading animation,and I found how to do it:
$.mobile.loading('show')
It works..almost. It only shows a black circle on the middle of the screen. I checked the console only to find :
Failed to load resource
ajax-loader.gif (0,0)
I ran multiple test: I commented the security policy,copied the image in different folders,checked the spelling and finally created my own span with url(images/ajax-loader.gif) and ..it worked. Then I did the same thing with the original loader(I found its span in the DOM explorer) and added an inline style url(images/ajax-loader.gif)..it worked!
Finally I realised this:
It is like it tries to load the same image from two different sources. How can I fix it?
Other details:Jquery 2.0.0/Jquery-mobile 1.4.5
This is some weird behaviour still not explained-so ANYONE can post the correct reason/explanation for this- but I will post the fix.
I took a look at this post and thought to give it a try.
This is how the css looks like(I edited it in debug mode so it should be overridden) :background: url(.././images/ajax-loader.gif)
Now it works but the question IS still active.

Edge Animate composition won't open, "Loading Failed, please check your page for javascript errors"

When I try to open my Edge Animate .an project I get the error message "Loading Failed, Please Check your page for Javascript Errors". I tried the suggestions in this page http://blogs.adobe.com/edge/2012/01/04/why-cant-it-just-work/ as suggested in other sites, but it doesn't detect any errors in both Dreamweaver or a browser.
What saved me from re-doing my whole project was the advice found in this site:
https://forums.adobe.com/thread/1883220
You have to look under your PROJECT_edge.js file in any text editor, and you will probably find duplicated lines in the fonts area. Delete duplicates (make sure you don't erase anything else and that you don't cause syntax errors) and you are good to go! Hope this helps someone.
I found a resolution the the "JavaScript Error" preventing me from opening my .an file.
It seems like the same edge font was declared twice within the .js, I removed the second declaration and my .an file loaded. I would recommend checking that out
fonts = {
'source-sans-pro, sans-serif': '<script src="http://use.edgefonts.net/source-sans-pro:n4,n9,n7,i7,i4,n3,i3,n6,i6,i9,n2,i2:all.js"></script>',
'source-sans-pro, sans-serif': '<script src="http://use.edgefonts.net/source-sans-pro:n4,n9,n7,i7,i4,n3,i3,n6,i6,i9,n2,i2:all.js"></script>' },
fonts = {
'source-sans-pro, sans-serif': '<script src="http://use.edgefonts.net/source-sans-pro:n4,n9,n7,i7,i4,n3,i3,n6,i6,i9,n2,i2:all.js"></script>' },

How can I view all the jslint errors in IntelliJ?

IntelliJ underline in red every error reported by JSLint and I can see the respective indications on the rightmost margin of the document.
However, I would like to see all of the jslint errors in one window and be able to navigate from error to error.
Is it possible?
Thanks.
Run Analyze | Inspect Code with the JSLint code inspection enabled in the profile.

Categories

Resources