Fix line numbers for HTML5 source maps

This commit is contained in:
Joshua Granick
2019-03-29 15:58:03 -07:00
parent 9689957288
commit 914e94f9e5

View File

@@ -1,13 +1,8 @@
::if embeddedLibraries::::foreach (embeddedLibraries)::
::__current__::::end::::end::
// lime.embed namespace wrapper
var $hx_script = (function(exports, global) { ::SOURCE_FILE::});
(function ($hx_exports, $global) { "use strict";
$hx_exports.lime = $hx_exports.lime || {};
$hx_exports.lime.$scripts = $hx_exports.lime.$scripts || {};
$hx_exports.lime.$scripts["::APP_FILE::"] = (function(exports, global) {
::SOURCE_FILE::
});
// End namespace wrapper
$hx_exports.lime.$scripts["::APP_FILE::"] = $hx_script;
$hx_exports.lime.embed = function(projectName) { var exports = {};
$hx_exports.lime.$scripts[projectName](exports, $global);
for (var key in exports) $hx_exports[key] = $hx_exports[key] || exports[key];
@@ -15,3 +10,5 @@ $hx_exports.lime.embed = function(projectName) { var exports = {};
return exports;
};
})(typeof exports != "undefined" ? exports : typeof window != "undefined" ? window : typeof self != "undefined" ? self : this, typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this);
::if embeddedLibraries::::foreach (embeddedLibraries)::::__current__::
::end::::end::