Projekt

Allgemein

Profil

GX-Bug #58712 » jse-module-loader-fix.patch

Till Tepelmann, 13.08.2018 18:58

Unterschiede anzeigen:

src/JSEngine/core/module_loader.js (date 1534178780000)
152 152
					// Then convert the relative path to JSEngine/libs directory.
153 153
					if (dependency.indexOf('http') === -1) {
154 154
						dependencies[index] = jse.core.config.get('engineUrl') + '/libs/' + dependency + fileExtension;
155
					} else if (dependency.indexOf('.js') === -1) { // Then add the dynamic file extension to the URL.
155
					} else if (dependency.substr(-3) !== '.js') { // Then add the dynamic file extension to the URL.
156 156
						dependencies[index] += fileExtension;
157 157
					}
158 158
				}
    (1-1/1)