|
|
@ -18,7 +18,7 @@ |
|
|
|
<!--[if IE 8]> |
|
|
|
<script src="https://t.alipayobjects.com/images/rmsweb/T1q8JiXftaXXXXXXXX.js"></script> |
|
|
|
<![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> |
|
|
|
(function() { |
|
|
@ -50,6 +50,7 @@ |
|
|
|
window.require = function (path) { |
|
|
|
var result = window; |
|
|
|
var namespaces = path.split('/'); |
|
|
|
console.log(path, namespaces); |
|
|
|
namespaces.forEach(function (key, i) { |
|
|
|
if (i === 2) { |
|
|
|
key = capitalizeFirstLetter(key); |
|
|
|