Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Papa Tamsir Kane
erp5
Commits
734b70c5
Commit
734b70c5
authored
Jan 28, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update RequireJS 2.1.4.
parent
0a8fbb36
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
51 deletions
+61
-51
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/require.js.xml
...TemplateItem/portal_skins/erp5_xhtml_style/require.js.xml
+26
-19
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/require.min.js.xml
...lateItem/portal_skins/erp5_xhtml_style/require.min.js.xml
+31
-31
product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
+3
-0
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
+1
-1
No files found.
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/require.js.xml
View file @
734b70c5
...
...
@@ -12,7 +12,7 @@
</item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts5
7908553.78
</string>
</value>
<value>
<string>
ts5
9369034.49
</string>
</value>
</item>
<item>
<key>
<string>
__name__
</string>
</key>
...
...
@@ -34,7 +34,7 @@
</item>
<item>
<key>
<string>
size
</string>
</key>
<value>
<int>
79623
</int>
</value>
<value>
<int>
80196
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
...
...
@@ -54,20 +54,20 @@
<value>
<string
encoding=
"cdata"
>
<![CDATA[
/** vim: et:ts=4:sw=4:sts=4\n
* @license RequireJS 2.1.
2
Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.\n
* @license RequireJS 2.1.
4
Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved.\n
* Available via the MIT or new BSD license.\n
* see: http://github.com/jrburke/requirejs for details\n
*/\n
//Not using strict: uneven strict support in browsers, #392, and causes\n
//problems with requirejs.exec()/transpiler plugins that may not be strict.\n
/*jslint regexp: true, nomen: true, sloppy: true */\n
/*global window, navigator, document, importScripts,
jQuery,
setTimeout, opera */\n
/*global window, navigator, document, importScripts, setTimeout, opera */\n
\n
var requirejs, require, define;\n
(function (global) {\n
var req, s, head, baseElement, dataMain, src,\n
interactiveScript, currentlyAddingScript, mainScript, subPath,\n
version = \'2.1.
2
\',\n
version = \'2.1.
4
\',\n
commentRegExp = /(\\/\\*([\\s\\S]*?)\\*\\/|([^:]|^)\\/\\/(.*)$)/mg,\n
cjsRequireRegExp = /[^.]\\s*require\\s*\\(\\s*["\']([^\'"\\s]+)["\']\\s*\\)/g,\n
jsSuffixRegExp = /\\.js$/,\n
...
...
@@ -76,7 +76,6 @@ var requirejs, require, define;\n
ostring = op.toString,\n
hasOwn = op.hasOwnProperty,\n
ap = Array.prototype,\n
aps = ap.slice,\n
apsp = ap.splice,\n
isBrowser = !!(typeof window !== \'undefined\' && navigator && document),\n
isWebWorker = !isBrowser && typeof importScripts !== \'undefined\',\n
...
...
@@ -973,8 +972,7 @@ var requirejs, require, define;\n
name =
this.map.name,\n
parentName =
this.map.parentMap
?
this.map.parentMap.name
:
null,\n
localRequire =
context.makeRequire(map.parentMap,
{\n
enableBuildCallback:
true,\n
skipMap:
true\n
enableBuildCallback:
true\n
});\n
\n
//If
current
map
is
not
normalized,
wait
for
that\n
...
...
@@ -1072,8 +1070,11 @@ var requirejs, require, define;\n
try
{\n
req.exec(text);\n
}
catch
(e)
{\n
throw
new
Error(\'fromText
eval
for
\'
+
moduleName
+\n
\'
failed:
\'
+
e);\n
return
onError(makeError(\'fromtexteval\',\n
\'fromText
eval
for
\'
+
id
+\n
\'
failed:
\'
+
e,\n
e,\n
[id]));\n
}\n
\n
if
(hasInteractive)
{\n
...
...
@@ -1450,16 +1451,21 @@ var requirejs, require, define;\n
*
plain
URLs
like
nameToUrl.\n
*/\n
toUrl:
function
(moduleNamePlusExt)
{\n
var
index =
moduleNamePlusExt.lastIndexOf(\'.\'),\n
ext =
null;\n
\n
if
(index
!==
-1)
{\n
var
ext,
url,\n
index =
moduleNamePlusExt.lastIndexOf(\'.\'),\n
segment =
moduleNamePlusExt.split(\'/\')[0],\n
isRelative =
segment
===
\'.\'
||
segment =
==
\'..\';\n
\n
//Have
a
file
extension
alias,
and
it
is
not
the\n
//dots
from
a
relative
path.\n
if
(index
!==
-1
&&
(!isRelative
||
index
>
1)) {\n
ext = moduleNamePlusExt.substring(index, moduleNamePlusExt.length);\n
moduleNamePlusExt = moduleNamePlusExt.substring(0, index);\n
}\n
\n
return
context.nameToUrl(normalize(moduleNamePlusExt,\n
relMap
&&
relMap.id,
true),
ext);\n
url = context.nameToUrl(normalize(moduleNamePlusExt,\n
relMap
&&
relMap.id, true), ext || \'.fake\');\n
return ext ? url : url.substring(0, url.length - 5);\n
},\n
\n
defined: function (id) {\n
...
...
@@ -1504,10 +1510,11 @@ var requirejs, require, define;\n
\n
/**\n
* Called to enable a module if it is still in the registry\n
*
awaiting
enablement.
parent
module
is
passed
in
for
context,\n
*
used
by
the
optimizer.\n
* awaiting enablement. A second arg, parent, the parent module,\n
* is passed in for context, when this method is overriden by\n
* the optimizer. Not shown here to keep code compact.\n
*/\n
enable:
function
(depMap
,
parent
)
{\n
enable: function (depMap) {\n
var mod = getOwn(registry, depMap.id);\n
if (mod) {\n
getModule(depMap).enable();\n
...
...
product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/require.min.js.xml
View file @
734b70c5
This diff is collapsed.
Click to expand it.
product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log
View file @
734b70c5
2013-01-28 Kazuhiko
* update RequireJS 2.1.4.
2013-01-14 Kazuhiko
* add RequireJS 2.1.2.
...
...
product/ERP5/bootstrap/erp5_xhtml_style/bt/revision
View file @
734b70c5
1093
\ No newline at end of file
1094
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment