Skip to content

Instantly share code, notes, and snippets.

@FinnE
FinnE / RequireExample.user.js
Created January 4, 2012 06:55
Greasemonkey user script: Demonstrates problem with @requiring a script that doesn't end in a semicolon.
// ==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(){