-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (33 loc) · 1.02 KB
/
index.html
File metadata and controls
36 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<script type="text/javascript" src="js/wool-loder.js"></script>
<title>Подгрузка скриптов js</title>
</head>
<body>
<script type="text/javascript">
/*
require.config({
'modulPath': 'js/modules/'
});
*/
require(['js/jquery-2.0.0.min.js', 'css/style.css'], function (obj) {
console.log(obj);
console.log('jQuery и стили были загружены');
});
require(['ajax'], function (obj) {
console.log(obj);
console.log('Модули подгруженны!');
});
/*
require(['widget'], function (obj) {
console.log(obj);
});
require(['event','dom'], function (obj) {
console.log(obj);
});
*/
</script>
</body>
</html>