and a note on manual changes in dataTables.bootstrap.css
[myslice.git] / third-party / jquery-ui-1.10.2 / tests / jquery.js
1 (function() {
2
3 var parts = document.location.search.slice( 1 ).split( "&" ),
4         length = parts.length,
5         i = 0,
6         current,
7         version,
8         url;
9
10 for ( ; i < length; i++ ) {
11         current = parts[ i ].split( "=" );
12         if ( current[ 0 ] === "jquery" ) {
13                 version = current[ 1 ];
14                 break;
15         }
16 }
17
18 if ( version === "git" ) {
19         url = "http://code.jquery.com/jquery-git.js";
20 } else {
21         url = "../../jquery-" + ( version || "1.9.1" ) + ".js";
22 }
23
24 document.write( "<script src='" + url + "'></script>" );
25
26 }() );