Skip to content

Commit

Permalink
Restructure frontend by not separating .coffee and compiled .js files
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Teinum committed Apr 3, 2013
1 parent 94268ce commit c07b5b7
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .gitignore
@@ -1,9 +1,9 @@
backend/main.js backend/main.js
backend/node_modules backend/node_modules
frontend/js/collections/*.js frontend/collections/*.js
frontend/js/main.js frontend/main.js
frontend/js/models/*.js frontend/models/*.js
frontend/js/router.js frontend/router.js
frontend/js/test/*.js frontend/test/*.js
frontend/js/views/*.js frontend/views/*.js
nohup.out nohup.out
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion frontend/index.html
Expand Up @@ -166,6 +166,6 @@ <h1>Results for <%= webPage %></h1>
</p> </p>
</script> </script>


<script data-main="js/main" type="text/javascript" charset="utf-8" src="js/require.js"></script> <script data-main="main" type="text/javascript" charset="utf-8" src="require.js"></script>
</body> </body>
</html> </html>
2 changes: 1 addition & 1 deletion frontend/coffee/main.coffee → frontend/main.coffee
@@ -1,5 +1,5 @@
requirejs.config { requirejs.config {
baseUrl: 'js' baseUrl: '.'
paths: { paths: {
jquery: 'http://code.jquery.com/jquery-1.9.1.min' jquery: 'http://code.jquery.com/jquery-1.9.1.min'
backbone: 'deps/backbone' backbone: 'deps/backbone'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c07b5b7

Please sign in to comment.