From 58b91dd3baaaf72ab65062a4804403cd4a5935b2 Mon Sep 17 00:00:00 2001 From: xudan Date: Thu, 5 Jul 2018 22:37:35 -0400 Subject: Move OVP web portal code to a separate repo The new repo for web portal is https://gerrit.opnfv.org/gerrit/dovetail-webportal JIRA: DOVETAIL-671 Change-Id: Iac085abc3d175b9a091d70d0448af56c7a6845e9 Signed-off-by: xudan --- .../assets/lib/jquery/src/ajax/script.js | 77 ---------------------- 1 file changed, 77 deletions(-) delete mode 100644 cvp/3rd_party/static/testapi-ui/assets/lib/jquery/src/ajax/script.js (limited to 'cvp/3rd_party/static/testapi-ui/assets/lib/jquery/src/ajax/script.js') diff --git a/cvp/3rd_party/static/testapi-ui/assets/lib/jquery/src/ajax/script.js b/cvp/3rd_party/static/testapi-ui/assets/lib/jquery/src/ajax/script.js deleted file mode 100644 index 6e0d21e9..00000000 --- a/cvp/3rd_party/static/testapi-ui/assets/lib/jquery/src/ajax/script.js +++ /dev/null @@ -1,77 +0,0 @@ -define( [ - "../core", - "../var/document", - "../ajax" -], function( jQuery, document ) { - -"use strict"; - -// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) -jQuery.ajaxPrefilter( function( s ) { - if ( s.crossDomain ) { - s.contents.script = false; - } -} ); - -// Install script dataType -jQuery.ajaxSetup( { - accepts: { - script: "text/javascript, application/javascript, " + - "application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /\b(?:java|ecma)script\b/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -} ); - -// Handle cache's special case and crossDomain -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - } -} ); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function( s ) { - - // This transport only deals with cross domain requests - if ( s.crossDomain ) { - var script, callback; - return { - send: function( _, complete ) { - script = jQuery( "