Comparing version 1.12.17 to 1.12.18
@@ -14,3 +14,3 @@ # Plugins | ||
- [Mocha](https://github.com/6to5/6to5-mocha) | ||
- [Rails](https://github.com/6to5/6to5-rails) | ||
- [Rails](https://github.com/josh/sprockets-es6) or via [browserify-rails](https://github.com/6to5/6to5-rails) | ||
- [webpack](https://github.com/Couto/6to5-loader) |
@@ -15,3 +15,3 @@ var transform = module.exports = require("./transformation/transform"); | ||
var xhr = window.ActiveXObject ? new window.ActiveXObject("Microsoft.XMLHTTP") : new window.XMLHttpRequest(); | ||
var xhr = global.ActiveXObject ? new global.ActiveXObject("Microsoft.XMLHTTP") : new global.XMLHttpRequest(); | ||
xhr.open("GET", url, true); | ||
@@ -64,3 +64,3 @@ if ("overrideMimeType" in xhr) xhr.overrideMimeType("text/plain"); | ||
var _scripts = window.document.getElementsByTagName("script"); | ||
var _scripts = global.document.getElementsByTagName("script"); | ||
for (var i in _scripts) { | ||
@@ -78,6 +78,6 @@ var _script = _scripts[i]; | ||
if (window.addEventListener) { | ||
window.addEventListener("DOMContentLoaded", runScripts, false); | ||
} else { | ||
window.attachEvent("onload", runScripts); | ||
if (global.addEventListener) { | ||
global.addEventListener("DOMContentLoaded", runScripts, false); | ||
} else if (global.attachEvent) { | ||
global.attachEvent("onload", runScripts); | ||
} |
{ | ||
"name": "6to5", | ||
"description": "Turn ES6 code into readable vanilla ES5 with source maps", | ||
"version": "1.12.17", | ||
"version": "1.12.18", | ||
"author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/6to5/6to5", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
736648
94
6408