OSDN Git Service

Merge pull request #41 from Bytom/dev
[bytom/vapor.git] / tools / side_chain_tool / web / node_modules / jquery / src / manipulation / _evalUrl.js
1 define( [
2         "../ajax"
3 ], function( jQuery ) {
4
5 "use strict";
6
7 jQuery._evalUrl = function( url ) {
8         return jQuery.ajax( {
9                 url: url,
10
11                 // Make this explicit, since user can override this through ajaxSetup (#11264)
12                 type: "GET",
13                 dataType: "script",
14                 cache: true,
15                 async: false,
16                 global: false,
17                 "throws": true
18         } );
19 };
20
21 return jQuery._evalUrl;
22
23 } );