|
@ -18,7 +18,7 @@ |
|
|
<!--[if IE 8]> |
|
|
<!--[if IE 8]> |
|
|
<script src="https://t.alipayobjects.com/images/rmsweb/T1q8JiXftaXXXXXXXX.js"></script> |
|
|
<script src="https://t.alipayobjects.com/images/rmsweb/T1q8JiXftaXXXXXXXX.js"></script> |
|
|
<![endif]--> |
|
|
<![endif]--> |
|
|
<script src="https://as.alipayobjects.com/component/??console-polyfill/0.2.2/index.js,es5-shim/4.1.14/es5-shim.min.js,es5-shim/4.1.14/es5-sham.min.js,html5shiv/3.7.2/html5shiv.min.js"></script> |
|
|
<script src="https://as.alipayobjects.com/??component/console-polyfill/0.2.2/index.js,component/es5-shim/4.1.14/es5-shim.min.js,component/es5-shim/4.1.14/es5-sham.min.js,component/html5shiv/3.7.2/html5shiv.min.js,g/component/media-match/2.0.2/media.match.min.js"></script> |
|
|
<script src="https://a.alipayobjects.com/??bluebird/2.9.30/bluebird.js,jquery/jquery/1.11.1/jquery.js"></script> |
|
|
<script src="https://a.alipayobjects.com/??bluebird/2.9.30/bluebird.js,jquery/jquery/1.11.1/jquery.js"></script> |
|
|
<script> |
|
|
<script> |
|
|
(function() { |
|
|
(function() { |
|
@ -50,6 +50,7 @@ |
|
|
window.require = function (path) { |
|
|
window.require = function (path) { |
|
|
var result = window; |
|
|
var result = window; |
|
|
var namespaces = path.split('/'); |
|
|
var namespaces = path.split('/'); |
|
|
|
|
|
console.log(path, namespaces); |
|
|
namespaces.forEach(function (key, i) { |
|
|
namespaces.forEach(function (key, i) { |
|
|
if (i === 2) { |
|
|
if (i === 2) { |
|
|
key = capitalizeFirstLetter(key); |
|
|
key = capitalizeFirstLetter(key); |
|
|