Created
July 19, 2012 13:16
-
-
Save arantius/3143842 to your computer and use it in GitHub Desktop.
Require Test
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 library() { | |
console.log('The library function defined in a @require script works!'); | |
} |
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 Require Test | |
// @namespace http://arantius.com/misc/greasemonkey/ | |
// @description Test @require libraries. | |
// @include http* | |
// @require https://raw.github.com/gist/3143842/require-library.js | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
library(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment