Skip to content

Commit

Permalink
magic moving files
Browse files Browse the repository at this point in the history
  • Loading branch information
shelajev committed Sep 19, 2024
1 parent bc0ba75 commit 3d3fbbf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/main/resources/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Todo-Backend client</title>
<link rel="stylesheet" href="css/vendor/todomvc-common.css">
<link rel="stylesheet" href="css/todomvc-common.css">
<link rel="stylesheet" href="css/chooser.css">
</head>
<body>
Expand Down Expand Up @@ -63,10 +63,10 @@ <h1>todos</h1>
<button id="clear-completed">Remove completed (<%= completed %>)</button>
<% } %>
</script>
<script src="js/vendor/todomvc-common.js"></script>
<script src="js/vendor/jquery.js"></script>
<script src="js/vendor/underscore.js"></script>
<script src="js/vendor/backbone.js"></script>
<script src="js/todomvc-common.js"></script>
<script src="js/jquery.js"></script>
<script src="js/underscore.js"></script>
<script src="js/backbone.js"></script>

<script src="js/models/todo.js"></script>
<script src="js/collections/todos.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@

// Set up Backbone appropriately for the environment. Start with AMD.
if (typeof define === 'function' && define.amd) {
define(['underscore', 'jquery', 'exports'], function(_, $, exports) {
define(['public/js/underscore', 'public/js/jquery', 'exports'], function(_, $, exports) {
// Export global even in AMD case in case this script is loaded with
// others that may still expect a global Backbone.
root.Backbone = factory(root, exports, _, $);
});

// Next for Node.js or CommonJS. jQuery may not be needed as a module.
} else if (typeof exports !== 'undefined') {
var _ = require('underscore');
var _ = require('public/js/underscore');
factory(root, exports, _);

// Finally, as a browser global.
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 3d3fbbf

Please sign in to comment.