[wp-trac] [WordPress Trac] #20055: Load .dev.js scripts for TinyMCE plugins if $concatenate_scripts == false

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 16 23:12:39 UTC 2012


#20055: Load .dev.js scripts for TinyMCE plugins if $concatenate_scripts == false
-------------------------+-----------------------------
 Reporter:  ericlewis    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  TinyMCE      |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 After banging my head on a Javascript / TinyMCE wall for a bit this
 morning, I figured I would write a patch for this issue. This makes
 debugging TinyMCE plugins a lot easier.

 If $concatenate_scripts is false ( which is automatically FALSE if
 SCRIPT_DEBUG is true ) editor_plugin.dev.js files will be scanned for and
 included automatically, and if they don't exist their editor_plugin.js
 counterpart is loaded.

 I spoke to _duck in IRC and he implied there may be a reason for not
 loading .dev.js scripts, so there may be a reason not to do this, however
 I can't really see one.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20055>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list