Răsfoiți Sursa

Remove ES6 from a Bender.js statis, so we can run it in ES5 env without transpilation. See https://github.com/ckeditor/ckeditor5/issues/201.

Piotrek Koszuliński 9 ani în urmă
părinte
comite
894eb18415
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      dev/bender/plugins/ckeditor5/static/extensions.js

+ 1 - 1
dev/bender/plugins/ckeditor5/static/extensions.js

@@ -8,7 +8,7 @@
 
 'use strict';
 
-( () => {
+( function() {
 	// This seems to be the only way to force Require.JS to load modules starting with '/' from a different path.
 	var load = requirejs.load;
 	requirejs.load = function( context, moduleId, url ) {