removed requirejs shim

This commit is contained in:
hamza zia 2013-01-06 15:52:27 +05:00
parent 0029e1087b
commit e7c9e4d0cc
2 changed files with 2 additions and 11 deletions

View File

@ -14,17 +14,16 @@
<link rel="stylesheet" href="css/font-awesome.css"> <link rel="stylesheet" href="css/font-awesome.css">
<script src="js/libs/require.js"></script> <!-- external javascript dependencies -->
<script src="js/libs/jquery-1.8.3.js"></script> <script src="js/libs/jquery-1.8.3.js"></script>
<script src="js/libs/jquery.flot.js"></script> <script src="js/libs/jquery.flot.js"></script>
<script src="js/libs/jquery.flot.resize.js"></script> <script src="js/libs/jquery.flot.resize.js"></script>
<script src="js/libs/lodash.underscore.min.js"></script> <script src="js/libs/lodash.underscore.min.js"></script>
<script src="js/libs/bootstrap.js"></script> <script src="js/libs/bootstrap.js"></script>
<script src="js/libs/mustache.js"></script> <script src="js/libs/mustache.js"></script>
<script src="js/libs/piecon.js"></script> <script src="js/libs/piecon.js"></script>
<!-- webui core -->
<script src="js/aria2_settings.js"></script> <script src="js/aria2_settings.js"></script>
<script src="js/utils.js"></script> <script src="js/utils.js"></script>
<script src="js/connection.js"></script> <script src="js/connection.js"></script>

View File

@ -1,13 +1,5 @@
/* vim: set tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab: */ /* vim: set tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab: */
Piecon.setOptions({fallback: 'force'}); Piecon.setOptions({fallback: 'force'});
require.config({
baseUrl: "js/"
});
require([
"text!script.js"
], function (txt) {
alert(txt);
});
var graphSize = 15; var graphSize = 15;
var graphData = []; var graphData = [];