Created
November 21, 2014 06:09
-
-
Save Martii/2f032c172d438435aef7 to your computer and use it in GitHub Desktop.
Reduced test case for uglify-js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function(){// ==UserScript== | |
// @name RFC 2606§3 - Hello, World! | |
// @namespace http://localhost.localdomain | |
// @description JavaScript alert box saying Hello, World! | |
// @copyright 2007+, Marti Martz (http://userscripts.org/users/37004) | |
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html | |
// @license (CC); http://creativecommons.org/licenses/by-nc-sa/3.0/ | |
// @version 0.0.0 | |
// @include http://www.example.com/* | |
// @include http://www.example.net/* | |
// @include http://www.example.org/* | |
// ==/UserScript== | |
alert("Hello, World!")}(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
// ==UserScript== | |
// @name RFC 2606§3 - Hello, World! | |
// @namespace http://localhost.localdomain | |
// @description JavaScript alert box saying Hello, World! | |
// @copyright 2007+, Marti Martz (http://userscripts.org/users/37004) | |
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html | |
// @license (CC); http://creativecommons.org/licenses/by-nc-sa/3.0/ | |
// @version 0.0.0 | |
// @include http://www.example.com/* | |
// @include http://www.example.net/* | |
// @include http://www.example.org/* | |
// ==/UserScript== | |
alert('Hello, World!'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment