mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Load the codemirror as package in the require.js, which will allow us to
load the codemirror addons without any modification.
This commit is contained in:
@@ -43,6 +43,11 @@
|
||||
require.config({
|
||||
baseUrl: '',
|
||||
waitSeconds: 0,
|
||||
packages: [{
|
||||
name: 'codemirror',
|
||||
location: '{{ url_for('static', filename='js/codemirror')}}',
|
||||
main: 'lib/codemirror'
|
||||
}],
|
||||
shim: {
|
||||
"backbone": {
|
||||
"deps": ['underscore', 'jquery'],
|
||||
|
||||
Reference in New Issue
Block a user