scratch – Blame information for rev 125

Subversion Repositories:
Rev:
Rev Author Line No. Line
125 office 1 define([
58 office 2 "../core"
3 ], function( jQuery ) {
4  
5 // Register as a named AMD module, since jQuery can be concatenated with other
6 // files that may use define, but not via a proper concatenation script that
7 // understands anonymous AMD modules. A named AMD is safest and most robust
8 // way to register. Lowercase jquery is used because AMD module names are
9 // derived from file names, and jQuery is normally delivered in a lowercase
10 // file name. Do this after creating the global so that if an AMD module wants
11 // to call noConflict to hide this version of jQuery, it will work.
12  
13 // Note that for maximum portability, libraries that are not jQuery should
14 // declare themselves as anonymous modules, and avoid setting a global if an
15 // AMD loader is present. jQuery is a special case. For more information, see
16 // https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
17  
18 if ( typeof define === "function" && define.amd ) {
19 define( "jquery", [], function() {
20 return jQuery;
125 office 21 });
58 office 22 }
23  
125 office 24 });