glebtv-ckeditor 4.3.2.0 → 4.3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9657f9839d7a8069d69e64ccd4b7b66a7df6c41f
|
|
4
|
+
data.tar.gz: 2ce9b7923eaab58bcd2142f30f4626e8e14a4474
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 247a1df2bdeed22c134187ddee02170bc3f71ba643ce22bfdc0c7bd6b9e6fc0d8e169e1db4d741768572e93d802c26b7aa586a73f97a4e01cb1338e8d29dc804
|
|
7
|
+
data.tar.gz: 670c2857beebe47875be110b24ce91a0ee93b51860b8c7616a1b8423d7f1fce1129aec930ca386add7603b3fdeb2d45b32fd19ca54418708efcb735a6f2a2d2e
|
data/lib/ckeditor/version.rb
CHANGED
|
@@ -457,13 +457,13 @@
|
|
|
457
457
|
editor.addMode('source', function(callback) {
|
|
458
458
|
if (typeof (CodeMirror) == 'undefined') {
|
|
459
459
|
|
|
460
|
-
CKEDITOR.document.appendStyleSheet(
|
|
460
|
+
CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl('plugins/codemirror/css/codemirror.min.css'));
|
|
461
461
|
|
|
462
462
|
if (config.theme.length && config.theme != 'default') {
|
|
463
|
-
CKEDITOR.document.appendStyleSheet(
|
|
463
|
+
CKEDITOR.document.appendStyleSheet(CKEDITOR.getUrl('plugins/codemirror/theme/' + config.theme + '.css'));
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
CKEDITOR.scriptLoader.load(
|
|
466
|
+
CKEDITOR.scriptLoader.load(CKEDITOR.getUrl('plugins/codemirror/js/codemirror.min.js'), function() {
|
|
467
467
|
|
|
468
468
|
CKEDITOR.scriptLoader.load(getCodeMirrorScripts(), function() {
|
|
469
469
|
loadCodeMirror(editor);
|
|
@@ -479,43 +479,43 @@
|
|
|
479
479
|
});
|
|
480
480
|
|
|
481
481
|
function getCodeMirrorScripts() {
|
|
482
|
-
var scriptFiles = [
|
|
482
|
+
var scriptFiles = [CKEDITOR.getUrl('plugins/codemirror/js/codemirror.addons.min.js')];
|
|
483
483
|
|
|
484
484
|
switch (config.mode) {
|
|
485
485
|
case "htmlmixed":
|
|
486
486
|
{
|
|
487
|
-
scriptFiles.push(
|
|
487
|
+
scriptFiles.push(CKEDITOR.getUrl('plugins/codemirror/js/codemirror.mode.htmlmixed.min.js'));
|
|
488
488
|
}
|
|
489
489
|
|
|
490
490
|
break;
|
|
491
491
|
case "text/html":
|
|
492
492
|
{
|
|
493
|
-
scriptFiles.push(
|
|
493
|
+
scriptFiles.push(CKEDITOR.getUrl('plugins/codemirror/js/codemirror.mode.htmlmixed.min.js'));
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
break;
|
|
497
497
|
case "application/x-httpd-php":
|
|
498
498
|
{
|
|
499
|
-
scriptFiles.push(
|
|
499
|
+
scriptFiles.push(CKEDITOR.getUrl('plugins/codemirror/js/codemirror.mode.php.min.js'));
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
break;
|
|
503
503
|
case "text/javascript":
|
|
504
504
|
{
|
|
505
|
-
scriptFiles.push(
|
|
505
|
+
scriptFiles.push(CKEDITOR.getUrl('plugins/codemirror/js/codemirror.mode.javascript.min.js'));
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
break;
|
|
509
509
|
default:
|
|
510
|
-
scriptFiles.push(
|
|
510
|
+
scriptFiles.push(CKEDITOR.getUrl('plugins/codemirror/js/codemirror.mode.htmlmixed.min.js'));
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
if (config.useBeautify) {
|
|
514
|
-
scriptFiles.push(
|
|
514
|
+
scriptFiles.push(CKEDITOR.getUrl('plugins/codemirror/js/beautify.min.js'));
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
if (config.enableSearchTools) {
|
|
518
|
-
scriptFiles.push(
|
|
518
|
+
scriptFiles.push(CKEDITOR.getUrl('plugins/codemirror/js/codemirror.addons.search.min.js'));
|
|
519
519
|
}
|
|
520
520
|
return scriptFiles;
|
|
521
521
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: glebtv-ckeditor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.3.2.
|
|
4
|
+
version: 4.3.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Galeta
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|