Created
January 4, 2012 06:55
-
-
Save FinnE/1558869 to your computer and use it in GitHub Desktop.
Greasemonkey user script: Demonstrates problem with @requiring a script that doesn't end in a semicolon.
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
// ==UserScript== | |
// @name RequireExample | |
// @namespace http://diveintogreasemonkey.org/download/ | |
// @description Demonstrates problem with @requiring a script that doesn't end in a semicolon. | |
// @include * | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js | |
// @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js | |
// ==/UserScript== | |
(function(){ | |
alert("Hello"); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment