diff options
author | Eran (ev672n), Vosk <ev672n@att.com> | 2018-10-29 18:38:10 +0200 |
---|---|---|
committer | Eran (ev672n), Vosk <ev672n@att.com> | 2018-10-29 18:38:10 +0200 |
commit | bb60d2fc7c06ec661e4c66ac8778e1f2070103cd (patch) | |
tree | 2497848e3667f0ec99b2bea61e129c52dd37db60 /app/bower_components/jquery/src/exports/amd.js | |
parent | bdc15ad66739869abef7413e5da40191875781d1 (diff) |
Sync code3.0.0-ONAP1.2.0casablanca
Sync the code between repositories
Change-Id: Ic431c58c68716b6d401954fb854a183e0d222f57
Issue-ID: SDC-1874
Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
Diffstat (limited to 'app/bower_components/jquery/src/exports/amd.js')
-rw-r--r-- | app/bower_components/jquery/src/exports/amd.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/bower_components/jquery/src/exports/amd.js b/app/bower_components/jquery/src/exports/amd.js new file mode 100644 index 0000000..add6eb9 --- /dev/null +++ b/app/bower_components/jquery/src/exports/amd.js @@ -0,0 +1,24 @@ +define( [ + "../core" +], function( jQuery ) { + +// Register as a named AMD module, since jQuery can be concatenated with other +// files that may use define, but not via a proper concatenation script that +// understands anonymous AMD modules. A named AMD is safest and most robust +// way to register. Lowercase jquery is used because AMD module names are +// derived from file names, and jQuery is normally delivered in a lowercase +// file name. Do this after creating the global so that if an AMD module wants +// to call noConflict to hide this version of jQuery, it will work. + +// Note that for maximum portability, libraries that are not jQuery should +// declare themselves as anonymous modules, and avoid setting a global if an +// AMD loader is present. jQuery is a special case. For more information, see +// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon + +if ( typeof define === "function" && define.amd ) { + define( "jquery", [], function() { + return jQuery; + } ); +} + +} ); |