[wp-trac] [WordPress Trac] #38806: Better wp namespace in customize-base.js

WordPress Trac noreply at wordpress.org
Wed Nov 16 00:40:18 UTC 2016


#38806: Better wp namespace in customize-base.js
--------------------------+------------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+------------------------------

Comment (by westonruter):

 @afercia Is there a practical reason for this other than a style thing? Is
 an editor complaining because `wp` is not defined in the file? It is
 defined as a `global` in `.jshintrc` so that's why it's not been a problem
 for jshint so far.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38806#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list