[wp-trac] [WordPress Trac] #41870: Code Editor: Add grunt task for building new CodeMirror bundles from external dependencies

WordPress Trac noreply at wordpress.org
Tue Oct 17 05:31:17 UTC 2017


#41870: Code Editor: Add grunt task for building new CodeMirror bundles from
external dependencies
------------------------------+------------------------------
 Reporter:  westonruter       |       Owner:  adamsilverstein
     Type:  task (blessed)    |      Status:  assigned
 Priority:  high              |   Milestone:  4.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:  javascript
------------------------------+------------------------------

Comment (by westonruter):

 @adamsilverstein one more thing. The travis:js build just [https://travis-
 ci.org/xwp/wordpress-develop/jobs/288880692#L2190 failed] in
 `jsvalidate:build` because of:

 > Line 5: Unexpected reserved word

 It looks due to the `import` statement, and `jsvalidate` not expecting
 ES5. So maybe `codemirror.manifest.js` just needs to either be excluded
 from the build or just excluded from `jsvalidate`.

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


More information about the wp-trac mailing list