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:
Ashesh Vashi
2016-04-14 12:34:14 +05:30
parent af1e38a97a
commit 30d189f499
6 changed files with 18 additions and 18 deletions

View File

@@ -4,7 +4,7 @@
if (typeof define === 'function' && define.amd) {
define([
'underscore', 'underscore.string', 'jquery', 'backbone', 'backform',
'backgrid', 'codemirror', 'pgadmin.backgrid', 'codemirror.sql',
'backgrid', 'codemirror', 'pgadmin.backgrid', 'codemirror/mode/sql',
'select2'
],
function(_, S, $, Backbone, Backform, Backgrid, CodeMirror) {