Created
August 28, 2012 13:14
-
-
Save arantius/3497870 to your computer and use it in GitHub Desktop.
require jquery 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
// ==UserScript== | |
// @name require jquery test | |
// @namespace http://github.com/arantius | |
// @include http://fiddle.jshell.net/Gc8HN/show/ | |
// @include http://fiddle.jshell.net/Gc8HN/*/show/ | |
// @version 1 | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js | |
// @grant none | |
// ==/UserScript== | |
var my_jquery = jQuery; | |
jQuery.noConflict(true); | |
document.getElementById('script').textContent = | |
'I expect jquery 1.6.0, I have: ' + my_jquery().jquery; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment