question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update jQuery and Ace Editor

See original GitHub issue

The latest CDN version of jQuery version 2 is 2.2.4, while we are on 2.1.1. Do we want to switch to jQuery 3? Compatibility with materialize and the Ace Editor would need to be tested though. The safe route would be to just update jQuery with: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>

Regarding the Ace Editor we are on version 1.2.6, the latest CDN version is 1.2.8. This should be updated.

@jmart518 do you want to take care of this while you’re at it? 😃

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
danielperna84commented, Aug 3, 2017

You are right. Had the dev-flag still on and was looking at the old version. With the new materialize the modals are broken. There are no JavaScript errors. Maybe switching to jQuery 3 will fix this. Who knows, maybe the new materialize has 3 as a requirement.

1reaction
danielperna84commented, Aug 3, 2017

I’m not sure if it’s easy to test wth hassio. My guess would be, that modifying he files could lead to issues with persistence, just like you experience them.

My suggestion would be, to just test the configurator on a different machine. I have it running on Windows while developing, and it should also work on Macs without any issue. It’s designed to be cross-platform. Or at least should be.

The new materialize is working for me. Before merging I’ve pulled the changes to my pi. Looking at the filebrowser and clicking around a bit all worked like it should.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change value for jquery-ace code editor text area?
You can get ace instance from jquery wrapper using var editor = $('.my-code-area').data('ace').editor.ace. and then call editor.
Read more >
jQuery-ace - GitHub Pages
What is jQuery-ace? It's a jQuery plugin which allows to embed ACE Code Editor into any chosen div or textarea. How to install...
Read more >
Ace - The High Performance Code Editor for the Web
Ace is an embeddable code editor written in JavaScript. It matches the features and performance of native editors such as Sublime, Vim and...
Read more >
ajaxorg/ace: Ace (Ajax.org Cloud9 Editor) - GitHub
Ace is a standalone code editor written in JavaScript. Our goal is to create a browser based editor that matches and extends the...
Read more >
HTML Editor Syntax Highlighter (Updated 2022-03-09... - Page 2
A userscript the "replaces" the HTML Editor with an Ace Editor (https://ace.c9.io/) and utilizes JS-Beautify to "beautify" the HTML in the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found