Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r22267: LJSUP-12569: Change CKEditor build proce...

Committer: anazarov
LJSUP-12569: Change CKEditor build process
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-06-18 08:35:33 UTC (rev 22266)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-06-18 08:57:35 UTC (rev 22267)
@@ -178,11 +178,16 @@
 
     my @ret;
 
+    if ( $LJ::IS_DEV_SERVER ) {
+        push @ret, 'js/ck/ckeditor-dev.js';
+    } else {
+        push @ret, 'js/ck/ckeditor.js';
+    }
+
     push @ret, qw(
         js/ippu.js
         js/lj_ippu.js
         js/ljapp_ippu.js
-        js/ck/ckeditor.js
         js/rte.js
         js/jquery/jquery.lj.basicWidget.js
         js/jquery/jquery.xdomainrequest.js

Tags: anazarov, livejournal, nfokz, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments