Skip to content

Commit

Permalink
2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jbanety committed Sep 14, 2016
1 parent 5074f6c commit 1345360
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 43 deletions.
14 changes: 7 additions & 7 deletions require.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/** vim: et:ts=4:sw=4:sts=4
* @license RequireJS 2.2.0 Copyright jQuery Foundation and other contributors.
* Released under MIT license, http://github.com/requirejs/requirejs/LICENSE
* @license RequireJS 2.3.1 Copyright jQuery Foundation and other contributors.
* Released under MIT license, https://github.com/requirejs/requirejs/blob/master/LICENSE
*/
//Not using strict: uneven strict support in browsers, #392, and causes
//problems with requirejs.exec()/transpiler plugins that may not be strict.
/*jslint regexp: true, nomen: true, sloppy: true */
/*global window, navigator, document, importScripts, setTimeout, opera */

var requirejs, require, define;
(function (global) {
(function (global, setTimeout) {
var req, s, head, baseElement, dataMain, src,
interactiveScript, currentlyAddingScript, mainScript, subPath,
version = '2.2.0',
commentRegExp = /(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,
version = '2.3.1',
commentRegExp = /\/\*[\s\S]*?\*\/|([^:"'=]|^)\/\/.*$/mg,
cjsRequireRegExp = /[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,
jsSuffixRegExp = /\.js$/,
currDirRegExp = /^\.\//,
Expand All @@ -36,7 +36,7 @@ var requirejs, require, define;
useInteractive = false;

//Could match something like ')//comment', do not lose the prefix to comment.
function commentReplace(match, multi, multiText, singlePrefix) {
function commentReplace(match, singlePrefix) {
return singlePrefix || '';
}

Expand Down Expand Up @@ -2139,4 +2139,4 @@ var requirejs, require, define;

//Set up with config info.
req(cfg);
}(this));
}(this, setTimeout));
Loading

0 comments on commit 1345360

Please sign in to comment.