Skip to content

Commit

Permalink
Fixed #136
Browse files Browse the repository at this point in the history
  • Loading branch information
w8tcha committed Mar 4, 2018
1 parent ff6e736 commit b40ac3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,13 @@ module.exports = function(grunt) {
'requirejs',
'min',
'cssmin',
'imagemin',
'watch'
]);

grunt.registerTask('default', [
'requirejs',
'min',
'cssmin',
'imagemin'
'cssmin'
]);

};
10 changes: 5 additions & 5 deletions codemirror/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
CKEDITOR.plugins.add('codemirror', {
icons: 'searchcode,autoformat,commentselectedrange,uncommentselectedrange,autocomplete', // %REMOVE_LINE_CORE%
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,en,eo,es,et,eu,fa,fi,fo,fr-ca,fr,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt-br,pt,ro,ru,sk,sl,sr-latn,sr,sv,th,tr,ug,uk,vi,zh-cn,zh', // %REMOVE_LINE_CORE%
version: '1.17.4',
version: '1.17.5',
init: function (editor) {
var rootPath = this.path,
defaultConfig = {
Expand Down Expand Up @@ -66,7 +66,7 @@
packages: [{
name: 'codemirror',
location: location,
main: 'codemirror.min.js'
main: 'codemirror.js'
}, {
name: 'codemirror-mode-twig',
location: location,
Expand Down Expand Up @@ -109,7 +109,7 @@
map: {
'*': {
//all the requires pointing to ../../lib/codemirror from addons will be redirected to module named codemirror.js
//which is located in bundle 'codemirror' whose js file is codemirror.min.js
//which is located in bundle 'codemirror' whose js file is codemirror.js
'lib/codemirror': 'codemirror.js'
}
}
Expand Down Expand Up @@ -301,7 +301,7 @@
} else {
if (typeof (CodeMirror) == 'undefined') {

CKEDITOR.scriptLoader.load(rootPath + 'js/codemirror.min.js',
CKEDITOR.scriptLoader.load(rootPath + 'js/codemirror.js',
function() {

CKEDITOR.scriptLoader.load(getCodeMirrorScripts(),
Expand Down Expand Up @@ -661,7 +661,7 @@
} else {
if (typeof (CodeMirror) == 'undefined') {

CKEDITOR.scriptLoader.load(rootPath + 'js/codemirror.min.js',
CKEDITOR.scriptLoader.load(rootPath + 'js/codemirror.js',
function() {

CKEDITOR.scriptLoader.load(getCodeMirrorScripts(),
Expand Down

0 comments on commit b40ac3c

Please sign in to comment.